From 98a2b0f17601e2a97a6d89bee471eca5766dc40b Mon Sep 17 00:00:00 2001 From: Alirea <2981883527@qq.com> Date: Mon, 29 Sep 2025 13:26:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(notif):=20=E4=BF=AE=E5=A4=8D=E4=B8=80?= =?UTF-8?q?=E5=A4=84TypeError=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/config.py b/app/core/config.py index d558e8e..c7c1857 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -2153,7 +2153,7 @@ class AppConfig(GlobalConfig): log_path.write_text("\n".join(logs), encoding="utf-8") # 保存统计数据 log_path.with_suffix(".json").write_text( - json.dumps(data, ensure_ascii=False, index=4), encoding="utf-8" + json.dumps(data, ensure_ascii=False, indent=4), encoding="utf-8" ) logger.success(f"MAA 日志统计完成, 日志路径: {log_path}")