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

Fix: Wrong log when delay across task

This commit is contained in:
SarContDeli
2022-12-20 09:31:06 +08:00
parent 8b36e163ce
commit 6f063713df

View File

@@ -408,9 +408,9 @@ class AzurLaneConfig(ConfigUpdater, ManualConfig, GeneratedConfig, ConfigWatcher
},
allow_none=False,
)
logger.info(f"Delay task `{self.task.command}` to {run} ({kv})")
if task is None:
task = self.task.command
logger.info(f"Delay task `{task}` to {run} ({kv})")
self.modified[f'{task}.Scheduler.NextRun'] = run
self.update()
else: