feat: 添加工具以查找重复的异常处理,增强代码质量检查;新增验证 GUI 回退方式的自检脚本

This commit is contained in:
Your Name committed 2026-01-05 21:32:50 +08:00
1 parent 982357927e
commit 43e39f4db6
16 files changed
+472 -180

No files matched your search

+1 -3
View File
@@ -11,9 +11,7 @@ import sys
# 修复Windows控制台编码问题
if sys.platform == "win32":
try:
reconfigure_func = getattr(sys.stdout, "reconfigure", None)
if reconfigure_func:
reconfigure_func(encoding="utf-8")
sys.stdout.reconfigure(encoding="utf-8")
except Exception:
pass