修复了打包后无法正常使用的bug
This commit is contained in:
parent
f0dd563959
commit
8e6baef7dc
2
main.py
2
main.py
|
@ -20,7 +20,7 @@ def error(code):
|
||||||
print('指定文件不是BMP格式,无法读入', file=sys.stderr)
|
print('指定文件不是BMP格式,无法读入', file=sys.stderr)
|
||||||
elif (code == 7):
|
elif (code == 7):
|
||||||
print('暂不支持此图片,目前仅支持 bpp=24/32 的文件', file=sys.stderr)
|
print('暂不支持此图片,目前仅支持 bpp=24/32 的文件', file=sys.stderr)
|
||||||
exit(code)
|
sys.exit(code)
|
||||||
|
|
||||||
|
|
||||||
def warn(code):
|
def warn(code):
|
||||||
|
|
Loading…
Reference in New Issue