1
0
Fork 0

unify system exit

This commit is contained in:
Kevin Matz 2018-10-25 15:02:04 -04:00
parent f284414383
commit 10d30ae5e7
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,8 @@ if __name__ == '__main__':
try:
text = input("comment# ")
except KeyboardInterrupt:
print('exit')
sys.exit(0)
text = 'exit'
print(text)
if text == 'exit':
sys.exit(0)
else: