From f13d98312449019044a547dee75142c657a66543 Mon Sep 17 00:00:00 2001 From: KenanZhu <3471685733@qq.com> Date: Fri, 7 Nov 2025 22:58:43 +0800 Subject: [PATCH] fix(AutoLib): correct config key from 'run/mode' to 'mode/run_mode' Update dictionary key retrieval to use the correct key 'mode/run_mode' instead of the outdated 'run/mode'. This aligns the code with the recent configuration changes. --- AutoLib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutoLib.py b/AutoLib.py index f6910ae..4ba45e1 100644 --- a/AutoLib.py +++ b/AutoLib.py @@ -161,7 +161,7 @@ class AutoLib(MsgBase): """ Here, we collect the run mode from the config file. """ - run_mode = self.__system_config_reader.get("run/mode", 1) + run_mode = self.__system_config_reader.get("mode/run_mode", 0) run_mode = { "auto_reserve": run_mode&0x1, "auto_checkin": run_mode&0x2,