From 6dc19b29e87d961e50dd8703ee407c42465a6bf4 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Tue, 25 Mar 2025 12:56:48 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20remove=20redundant=20vali?= =?UTF-8?q?dation=20call=20in=20config=20validation=20function=20#901?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/dashboard/routes/config.py | 1 - 1 file changed, 1 deletion(-) diff --git a/astrbot/dashboard/routes/config.py b/astrbot/dashboard/routes/config.py index dcfe50d38..d3079f0d2 100644 --- a/astrbot/dashboard/routes/config.py +++ b/astrbot/dashboard/routes/config.py @@ -96,7 +96,6 @@ def validate_config( errors.append( f"错误的类型 {path}{key}: 期望是 dict, 得到了 {type(value).__name__}" ) - validate(value, meta["items"], path=f"{path}{key}.") if is_core: for key, group in schema.items():