1
0
Fork 0

allow script to exit naturally

This commit is contained in:
Kevin Matz 2018-10-25 18:16:48 -04:00
parent 1c4c4b18a2
commit 8600af3a9c
1 changed files with 1 additions and 1 deletions

View File

@ -69,6 +69,6 @@ if __name__ == '__main__':
text = 'exit' text = 'exit'
print(text) print(text)
if text == 'exit': if text == 'exit':
sys.exit(0) break
else: else:
comment(text) comment(text)