fix: prevent starting task if command is 'Restart'

This commit is contained in:
2026-07-06 22:40:29 +08:00
parent 1831356cee
commit c878ece7c8
+1
View File
@@ -208,6 +208,7 @@ class AzurLaneAutoScript:
if not self.wait_until(task.next_run): if not self.wait_until(task.next_run):
del_cached_property(self, 'config') del_cached_property(self, 'config')
continue continue
if task.command != 'Restart':
self.run('start') self.run('start')
elif method == 'goto_main': elif method == 'goto_main':
logger.info('Goto main page during wait') logger.info('Goto main page during wait')