Merge pull request #1 from WokoLiu/WokoLiu-patch-1

change `sys.exit(0)` to `sys.exit('e')`
This commit is contained in:
Woko 2018-12-10 17:49:20 +08:00 committed by GitHub
commit 28ec9fc720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
e.py
View File

@ -4,4 +4,4 @@ try:
while True:
sys.stdout.write('e')
except KeyboardInterrupt:
sys.exit(0)
sys.exit('e')