fix: bug fix in timer start (#807)

This commit is contained in:
Xu Yang
2025-04-18 02:16:28 -06:00
committed by GitHub
parent 6646613359
commit 2b7122f41f
+1 -1
View File
@@ -106,7 +106,7 @@ class LoopBase:
`None` indicates to run forever until error or KeyboardInterrupt
"""
if all_duration is not None and not self.timer:
if all_duration is not None and not self.timer.started:
self.timer.reset(all_duration=all_duration)
with tqdm(total=len(self.steps), desc="Workflow Progress", unit="step") as pbar: