allow script to exit naturally
This commit is contained in:
parent
1c4c4b18a2
commit
8600af3a9c
|
@ -69,6 +69,6 @@ if __name__ == '__main__':
|
|||
text = 'exit'
|
||||
print(text)
|
||||
if text == 'exit':
|
||||
sys.exit(0)
|
||||
break
|
||||
else:
|
||||
comment(text)
|
||||
|
|
Loading…
Reference in New Issue