修复了打包后无法正常使用的bug

This commit is contained in:
Luthics 2023-01-16 17:44:33 +08:00
parent f0dd563959
commit 8e6baef7dc
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def error(code):
print('指定文件不是BMP格式无法读入', file=sys.stderr)
elif (code == 7):
print('暂不支持此图片,目前仅支持 bpp=24/32 的文件', file=sys.stderr)
exit(code)
sys.exit(code)
def warn(code):