|
@@ -79,7 +79,7 @@ def one_command():
|
|
cmd = input('*> ').strip()
|
|
cmd = input('*> ').strip()
|
|
except KeyboardInterrupt:
|
|
except KeyboardInterrupt:
|
|
if yn_dialog('Do you want to exit Orderer?'):
|
|
if yn_dialog('Do you want to exit Orderer?'):
|
|
- exit_client()
|
|
|
|
|
|
+ print('Then type in `exit` :P')
|
|
return
|
|
return
|
|
else:
|
|
else:
|
|
return
|
|
return
|
|
@@ -108,11 +108,6 @@ def one_command():
|
|
print('An unknown error occurred while executing a command.')
|
|
print('An unknown error occurred while executing a command.')
|
|
|
|
|
|
|
|
|
|
-def exit_client():
|
|
|
|
- global exiting
|
|
|
|
- exiting = True
|
|
|
|
-
|
|
|
|
-
|
|
|
|
if __name__ == '__main__':
|
|
if __name__ == '__main__':
|
|
load()
|
|
load()
|
|
welcome()
|
|
welcome()
|