mirror of
https://github.com/HChaZZY/Random-Picker.git
synced 2025-12-06 10:33:50 +08:00
更新报错信息
This commit is contained in:
2
点名器.pyw
2
点名器.pyw
@@ -118,7 +118,7 @@ try:
|
|||||||
table = excel_data.sheets()[0]
|
table = excel_data.sheets()[0]
|
||||||
# win32api.SetFileAttributes(filename,win32con.FILE_ATTRIBUTE_HIDDEN)
|
# win32api.SetFileAttributes(filename,win32con.FILE_ATTRIBUTE_HIDDEN)
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
msgbox.showerror('找不到数据库文件', '在相同目录下未能找到 names.xls 文件,请确认您的文件存在')
|
msgbox.showerror('找不到数据库文件', '在 ./data下未能找到 names.xls 文件,请确认您的文件存在')
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user