소스 검색
fix: handle KeyboardInterrupt exception
Using Ctrl+C to interrupt the program won't display a big ugly error
anymore.
tags/v0.6.1
No known key found for this signature in database
GPG 키 ID: BC6F3C345B7D33B0
1개의 변경된 파일과
4개의 추가작업 그리고
1개의 파일을 삭제
-
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) |