Kaynağa Gözat
Merge pull request #60 from Deuchnord/fix-KeyboardInterrupt
Handle KeyboardInterrupt exception
tags/v0.6.1
Jérôme Deuchnord
5 yıl önce
committed by
GitHub
ebeveyn
işleme
44907bf828
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile
4 ekleme ve
1 silme
-
kosmorro
|
|
@@ -23,4 +23,7 @@ from kosmorrolib.main import main |
|
|
|
locale.setlocale(locale.LC_ALL, '') |
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
sys.exit(main()) |
|
|
|
try: |
|
|
|
sys.exit(main()) |
|
|
|
except KeyboardInterrupt: |
|
|
|
sys.exit(1) |