mirror of
https://github.com/HChaZZY/Random-Picker.git
synced 2025-12-06 10:33:50 +08:00
字符微调
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,3 +4,4 @@ dist/
|
||||
.history/
|
||||
config.data
|
||||
names.xls
|
||||
Build.bat
|
||||
|
||||
4
点名器.pyw
4
点名器.pyw
@@ -29,7 +29,7 @@ try:
|
||||
file.close()
|
||||
gui.iconbitmap(iconname)
|
||||
except IOError:
|
||||
if not msgbox.askokcancel('资源文件错误', '在./assets目录下未能找到 点名器.ico 文件,点击「确定」将加载默认图标,点击「取消」以关闭程序'):
|
||||
if not msgbox.askokcancel('资源文件错误', '在 ./assets目录下未能找到 点名器.ico 文件,点击「确定」将加载默认图标,点击「取消」以关闭程序'):
|
||||
sys.exit()
|
||||
|
||||
try:
|
||||
@@ -38,7 +38,7 @@ try:
|
||||
file = open(procname)
|
||||
file.close()
|
||||
except IOError:
|
||||
if msgbox.askokcancel('资源文件错误', '在./assets目录下未能找到音频文件,点击「确定」将关闭声音,点击「取消」以关闭程序'):
|
||||
if msgbox.askokcancel('资源文件错误', '在 ./assets目录下未能找到音频文件,点击「确定」将关闭声音,点击「取消」以关闭程序'):
|
||||
sound = False
|
||||
else:
|
||||
sys.exit()
|
||||
|
||||
Reference in New Issue
Block a user