1
0
Fork 0

fix progress recursion

This commit is contained in:
Sean Sube 2024-01-13 11:32:41 -06:00
parent a5fe52d2a2
commit 301628e636
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 2 deletions

View File

@ -190,8 +190,8 @@ class WorkerContext:
def set_totals(self, steps: int, stages: int = 0, tiles: int = 0) -> None:
self.steps = Progress(0, steps)
self.stages.total = Progress(0, stages)
self.tiles.total = Progress(0, tiles)
self.stages = Progress(0, stages)
self.tiles = Progress(0, tiles)
def finish(self) -> None:
if self.job is None: