1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 16:47:03 +08:00

Upd: use cross_set instead of modified

This commit is contained in:
2025-07-20 22:55:08 +08:00
parent 955adeed83
commit 17f172ab9f

View File

@@ -295,8 +295,7 @@ class FastForwardHandler(AutoSearchHandler):
):
from module.exception import AutoSearchSetError
raise AutoSearchSetError
self.config.modified['GemsFarming.Scheduler.Enable'] = False
self.config.update()
self.config.cross_set(keys='GemsFarming.Scheduler.Enable', value=False)
logger.critical('Auto search could not be ensured.')
logger.critical('Close Task: GemsFarming')
self.config.task_stop('Auto search could not be ensured.')