From 9ab3f38387948ad29f2149dd56781c31a2021934 Mon Sep 17 00:00:00 2001
From: zhizhijie <zhizhijie@users.noreply.gitee.com>
Date: 星期五, 18 九月 2026 11:17:04 +0800
Subject: [PATCH] chore(投资): 提交你修改过的 3 个投资文件(Excel 重新保存,数据未变)
---
docs/投资/工具/隐藏项探测.py | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git "a/docs/\346\212\225\350\265\204/\345\267\245\345\205\267/\351\232\220\350\227\217\351\241\271\346\216\242\346\265\213.py" "b/docs/\346\212\225\350\265\204/\345\267\245\345\205\267/\351\232\220\350\227\217\351\241\271\346\216\242\346\265\213.py"
index bc1f908..ef011c8 100644
--- "a/docs/\346\212\225\350\265\204/\345\267\245\345\205\267/\351\232\220\350\227\217\351\241\271\346\216\242\346\265\213.py"
+++ "b/docs/\346\212\225\350\265\204/\345\267\245\345\205\267/\351\232\220\350\227\217\351\241\271\346\216\242\346\265\213.py"
@@ -121,12 +121,9 @@
ext = os.path.splitext(fn)[1].lower()
L.append('### %s' % fn)
L.append('')
- if ext == '.et':
- L.append('- 鏍煎紡锛歐PS `.et`锛坸lrd/openpyxl 閮借涓嶄簡锛岄渶 Excel COM / WPS 鎵撳紑锛�')
- L.append('')
- continue
try:
- info = scan_xls(fp) if ext == '.xls' else scan_xlsx(fp)
+ # 娉ㄦ剰锛�.et锛圵PS锛夊疄涓� OLE2/BIFF8 澶嶅悎鏂囨。锛寈lrd 鍙互鐩存帴璇伙紱鍙湁 .xlsx 璧� openpyxl
+ info = scan_xlsx(fp) if ext == '.xlsx' else scan_xls(fp)
except Exception as e:
L.append('- 璇诲彇澶辫触锛�%s' % e)
L.append('')
--
Gitblit v1.9.1