Add return command
This commit is contained in:
parent
7e6eeaf590
commit
290b57fd78
|
@ -81,6 +81,8 @@ def client():
|
|||
position = -1
|
||||
while True:
|
||||
num_str = input("Select [1-5]: ")
|
||||
if num_str == "exit" or num_str == "quit":
|
||||
return
|
||||
try:
|
||||
num = int(num_str)
|
||||
except ValueError:
|
||||
|
|
Loading…
Reference in New Issue