fix
This commit is contained in:
parent
fb98ea4d71
commit
b3e7cdd0dc
@ -51,6 +51,10 @@ def main():
|
||||
|
||||
print("Expert zo zoo to vie.")
|
||||
|
||||
if not lines:
|
||||
print("Chybna databaza")
|
||||
return
|
||||
|
||||
try:
|
||||
prvi = lines.index("")
|
||||
except ValueError:
|
||||
@ -58,7 +62,7 @@ def main():
|
||||
return
|
||||
|
||||
stromlines = lines[:prvi]
|
||||
vibir = [l.strip() for l in lines[prvi + 1 :]]
|
||||
vibir = lines[prvi + 1 :]
|
||||
|
||||
if not stromlines:
|
||||
print("Chybna databaza")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user