Skip to content

Commit 4f557b9

Browse files
committed
bugfix for progress bars
1 parent 29d45b7 commit 4f557b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyhdx/web/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def value(self):
249249
value = max(0, min(value, 100))
250250

251251
if value == 0 and self.active:
252-
return None
252+
return -1
253253
else:
254254
return value
255255

0 commit comments

Comments
 (0)