fix: 全局配置key错误

This commit is contained in:
DLmaster361
2025-08-04 21:13:57 +08:00
parent 16bf2c9494
commit 8e3c62a518

View File

@@ -105,14 +105,14 @@ class GlobalConfig(ConfigBase):
) )
Notify_CompanyWebHookBotUrl = ConfigItem("Notify", "CompanyWebHookBotUrl", "") Notify_CompanyWebHookBotUrl = ConfigItem("Notify", "CompanyWebHookBotUrl", "")
Notify_IfAutoUpdate = ConfigItem("Update", "IfAutoUpdate", False, BoolValidator()) Update_IfAutoUpdate = ConfigItem("Update", "IfAutoUpdate", False, BoolValidator())
Notify_UpdateType = ConfigItem( Update_UpdateType = ConfigItem(
"Update", "UpdateType", "stable", OptionsValidator(["stable", "beta"]) "Update", "UpdateType", "stable", OptionsValidator(["stable", "beta"])
) )
Notify_ThreadNumb = ConfigItem("Update", "ThreadNumb", 8, RangeValidator(1, 32)) Update_ThreadNumb = ConfigItem("Update", "ThreadNumb", 8, RangeValidator(1, 32))
Notify_ProxyAddress = ConfigItem("Update", "ProxyAddress", "") Update_ProxyAddress = ConfigItem("Update", "ProxyAddress", "")
Notify_ProxyUrlList = ConfigItem("Update", "ProxyUrlList", []) Update_ProxyUrlList = ConfigItem("Update", "ProxyUrlList", [])
Notify_MirrorChyanCDK = ConfigItem("Update", "MirrorChyanCDK", "") Update_MirrorChyanCDK = ConfigItem("Update", "MirrorChyanCDK", "")
class QueueItem(ConfigBase): class QueueItem(ConfigBase):