You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update() does not update the progressbar when no Timer() (or ETA() etc.) widget is used.
Code
import progressbar, time
widgets = [progressbar.Percentage(), progressbar.Bar()]
bar = progressbar.ProgressBar(widgets=widgets, max_value=100).start()
for i in range(100):
time.sleep(0.5)
bar.update(i)
Always shows
N/A%| |
If i use bar.update(i, force=True) it works as expected. If i change the second line to
Description
update() does not update the progressbar when no Timer() (or ETA() etc.) widget is used.
Code
Always shows
If i use
bar.update(i, force=True)it works as expected. If i change the second line toit's also works as expected.
Versions