更新报错信息

This commit is contained in:
13632530821
2022-11-22 18:07:03 +08:00
parent 1a86932602
commit c7930bc7ff

View File

@@ -118,7 +118,7 @@ try:
table = excel_data.sheets()[0]
# win32api.SetFileAttributes(filename,win32con.FILE_ATTRIBUTE_HIDDEN)
except FileNotFoundError:
msgbox.showerror('找不到数据库文件', '相同目录下未能找到 names.xls 文件,请确认您的文件存在')
msgbox.showerror('找不到数据库文件', ' ./data下未能找到 names.xls 文件,请确认您的文件存在')
sys.exit()
try: