diff --git a/点名器.pyw b/点名器.pyw index 0a75c10..907f9bb 100644 --- a/点名器.pyw +++ b/点名器.pyw @@ -64,7 +64,7 @@ percent_override = True try: with excel.open_workbook(filename) as excel_data: table = excel_data.sheets()[0] - win32api.SetFileAttributes(filename,win32con.FILE_ATTRIBUTE_HIDDEN) + # win32api.SetFileAttributes(filename,win32con.FILE_ATTRIBUTE_HIDDEN) except FileNotFoundError: msgbox.showerror('找不到数据库文件', '在相同目录下未能找到 names.xls 文件,请确认您的文件存在') sys.exit() @@ -84,7 +84,7 @@ down_id = [] try: with open(configname,'r') as file: - win32api.SetFileAttributes(configname,win32con.FILE_ATTRIBUTE_HIDDEN) + # win32api.SetFileAttributes(configname,win32con.FILE_ATTRIBUTE_HIDDEN) config = file.read().splitlines() for unit in config: temp = unit.split(",")