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')
|
||||
continue
|
||||
if task.command != 'Restart':
|
||||
self.run('start')
|
||||
self.config.task_call('Restart')
|
||||
del_cached_property(self, 'config')
|
||||
continue
|
||||
elif method == 'goto_main':
|
||||
logger.info('Goto main page during wait')
|
||||
self.run('goto_main')
|
||||
|
||||
Reference in New Issue
Block a user