1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-08-19 04:50:43 +08:00

Fix: restrict restart on sensitive task failure only if logger used

This commit is contained in:
positnuec
2026-08-16 15:56:18 +08:00
parent 294c8a1f00
commit 49444ee1f1
12 changed files with 24 additions and 15 deletions

View File

@@ -31,7 +31,11 @@ class OperationSiren(
"""
Operation Siren main class that combines all task modules.
"""
pass
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
# Whether a coordinate logger was used in the current task run
self.config.logger_used = False
if __name__ == '__main__':