Closed gabriele-cannizzaro closed 5 years ago
When "max" is set to zero (can happen if there's nothing to process) the code returns a ZeroDivision error when update() is called.
The culprit seems to be in progress/__init__.py, like 156:
progress/__init__.py
@property def progress(self): return min(1, self.index / self.max)
I see there's already a fix in PR #72, closing this one.
When "max" is set to zero (can happen if there's nothing to process) the code returns a ZeroDivision error when update() is called.
The culprit seems to be in
progress/__init__.py
, like 156: