소스 검색

Merge pull request #60 from Deuchnord/fix-KeyboardInterrupt

Handle KeyboardInterrupt exception
tags/v0.6.1
Jérôme Deuchnord 5 년 전
committed by GitHub
부모
커밋
44907bf828
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. +4
    -1
      kosmorro

+ 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)

불러오는 중...
취소
저장