avoid empty command

This commit is contained in:
Simon 2025-02-18 14:55:17 +01:00
parent e2774e098e
commit f08566c35b

View File

@ -187,6 +187,8 @@ while True:
choice = 0
should_restart = True
break
elif text == "":
continue
choice = int(text)
if choice not in possible_choices:
print("invalid choice")