🐛 fix: remove redundant validation call in config validation function #901

This commit is contained in:
Soulter
2025-03-25 12:56:48 +08:00
parent 50975a87d4
commit 6dc19b29e8

View File

@@ -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():