fix(notif): 修复KeyError保错,兼容过往日志

This commit is contained in:
Alirea
2025-09-27 01:28:19 +08:00
parent 6f77c29e19
commit f9192ef9eb
2 changed files with 8 additions and 4 deletions

View File

@@ -2242,6 +2242,10 @@ class AppConfig(GlobalConfig):
data[key][stage][item] = 0
data[key][stage][item] += count
# 处理理智相关字段 - 使用最后一个文件的值
elif key in ["sanity", "sanity_full_at"]:
data[key] = single_data[key]
# 录入运行结果
elif key in ["maa_result", "general_result"]: