mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-10 07:02:06 +00:00
fix: update task handling to properly restart and clear cached properties
This commit is contained in:
+3
-1
@@ -219,7 +219,9 @@ class AzurLaneAutoScript:
|
|||||||
del_cached_property(self, 'config')
|
del_cached_property(self, 'config')
|
||||||
continue
|
continue
|
||||||
if task.command != 'Restart':
|
if task.command != 'Restart':
|
||||||
self.run('start')
|
self.config.task_call('Restart')
|
||||||
|
del_cached_property(self, 'config')
|
||||||
|
continue
|
||||||
elif method == 'goto_main':
|
elif method == 'goto_main':
|
||||||
logger.info('Goto main page during wait')
|
logger.info('Goto main page during wait')
|
||||||
self.run('goto_main')
|
self.run('goto_main')
|
||||||
|
|||||||
Reference in New Issue
Block a user