From a9698b80ee6e32c6c44970ddd18afbf155234595 Mon Sep 17 00:00:00 2001 From: 13632530821 Date: Sat, 19 Nov 2022 20:23:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=BA=86=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E6=96=87=E4=BB=B6=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 点名器.pyw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(",")