1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 09:46:25 +00:00

replace exit() with sys.exit() (#590)

This commit is contained in:
Alex Xu
2023-09-08 13:18:32 -07:00
committed by GitHub
parent 424118b7cd
commit 60e9f075b8
6 changed files with 11 additions and 10 deletions

2
kcc.py
View File

@@ -22,7 +22,7 @@ import sys
if sys.version_info < (3, 8, 0):
print('ERROR: This is a Python 3.8+ script!')
exit(1)
sys.exit(1)
# OS specific workarounds
import os