From 8e3c62a5187a6f509ccc3529d8aa5b84ec53c0c7 Mon Sep 17 00:00:00 2001 From: DLmaster361 Date: Mon, 4 Aug 2025 21:13:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=A8=E5=B1=80=E9=85=8D=E7=BD=AEkey?= =?UTF-8?q?=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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/core/config.py b/app/core/config.py index 68e422b..8ebc8ef 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -105,14 +105,14 @@ class GlobalConfig(ConfigBase): ) Notify_CompanyWebHookBotUrl = ConfigItem("Notify", "CompanyWebHookBotUrl", "") - Notify_IfAutoUpdate = ConfigItem("Update", "IfAutoUpdate", False, BoolValidator()) - Notify_UpdateType = ConfigItem( + Update_IfAutoUpdate = ConfigItem("Update", "IfAutoUpdate", False, BoolValidator()) + Update_UpdateType = ConfigItem( "Update", "UpdateType", "stable", OptionsValidator(["stable", "beta"]) ) - Notify_ThreadNumb = ConfigItem("Update", "ThreadNumb", 8, RangeValidator(1, 32)) - Notify_ProxyAddress = ConfigItem("Update", "ProxyAddress", "") - Notify_ProxyUrlList = ConfigItem("Update", "ProxyUrlList", []) - Notify_MirrorChyanCDK = ConfigItem("Update", "MirrorChyanCDK", "") + Update_ThreadNumb = ConfigItem("Update", "ThreadNumb", 8, RangeValidator(1, 32)) + Update_ProxyAddress = ConfigItem("Update", "ProxyAddress", "") + Update_ProxyUrlList = ConfigItem("Update", "ProxyUrlList", []) + Update_MirrorChyanCDK = ConfigItem("Update", "MirrorChyanCDK", "") class QueueItem(ConfigBase):