mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 13:17:00 +08:00
Opt: Replace uvicorn reloader with custom one
Fix: "True" in logs doesn't highlights properly
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import multiprocessing
|
||||
import threading
|
||||
from multiprocessing.managers import SyncManager
|
||||
|
||||
from module.config.config_updater import ConfigUpdater
|
||||
from module.webui.config import WebuiConfig
|
||||
|
||||
|
||||
class Setting:
|
||||
class State:
|
||||
"""
|
||||
Shared settings
|
||||
"""
|
||||
@@ -15,6 +16,7 @@ class Setting:
|
||||
|
||||
webui_config = WebuiConfig()
|
||||
config_updater = ConfigUpdater()
|
||||
researt_event: threading.Event = None
|
||||
manager: SyncManager = None
|
||||
reload: bool = False
|
||||
electron: bool = False
|
||||
|
||||
Reference in New Issue
Block a user