From ed6b52451b9acea5187154a727723cb5aa9a4173 Mon Sep 17 00:00:00 2001 From: DLmaster361 Date: Fri, 19 Sep 2025 00:34:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=8E=E7=AB=AF=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E9=98=9F=E5=88=97=E9=A1=B9=E5=86=97=E4=BD=99=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/core/config.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/core/config.py b/app/core/config.py index 8b4ff98..4ed8d10 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -1564,9 +1564,6 @@ class AppConfig(GlobalConfig): for group, items in data.items(): for name, value in items.items(): - if uuid.UUID(value) not in self.ScriptConfig: - logger.warning(f"脚本 {value} 不存在") - raise ValueError(f"脚本 {value} 不存在") logger.debug(f"更新队列项配置: {queue_id} - {group}.{name} = {value}") if isinstance(queue_config, QueueConfig): await queue_config.QueueItem[uid].set(group, name, value)