字符微调

This commit is contained in:
13632530821
2022-11-19 20:02:20 +08:00
parent 8a1280c50c
commit 78a0932643
2 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View File

@@ -3,4 +3,5 @@ build/
dist/ dist/
.history/ .history/
config.data config.data
names.xls names.xls
Build.bat

View File

@@ -29,7 +29,7 @@ try:
file.close() file.close()
gui.iconbitmap(iconname) gui.iconbitmap(iconname)
except IOError: except IOError:
if not msgbox.askokcancel('资源文件错误', '在./assets目录下未能找到 点名器.ico 文件,点击「确定」将加载默认图标,点击「取消」以关闭程序'): if not msgbox.askokcancel('资源文件错误', ' ./assets目录下未能找到 点名器.ico 文件,点击「确定」将加载默认图标,点击「取消」以关闭程序'):
sys.exit() sys.exit()
try: try:
@@ -38,7 +38,7 @@ try:
file = open(procname) file = open(procname)
file.close() file.close()
except IOError: except IOError:
if msgbox.askokcancel('资源文件错误', '在./assets目录下未能找到音频文件,点击「确定」将关闭声音,点击「取消」以关闭程序'): if msgbox.askokcancel('资源文件错误', ' ./assets目录下未能找到音频文件,点击「确定」将关闭声音,点击「取消」以关闭程序'):
sound = False sound = False
else: else:
sys.exit() sys.exit()