allow script to exit naturally
This commit is contained in:
parent
1c4c4b18a2
commit
8600af3a9c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue