If i finish and then restart a bar using AdaptiveETA, instead of showing the ETA the bar shows me the Time.
import progressbar
import time
maximum = 50
widgets = [progressbar.FormatLabel('Bar'), " ",
progressbar.Percentage(), " ",
progressbar.Bar(), " ",
progressbar.Timer(), " ",
progressbar.AdaptiveETA()]
bar = progressbar.ProgressBar(widgets=widgets,
max_value=maximum)
steps = 0
bar.start()
while steps < maximum:
bar.update(steps)
time.sleep(0.1)
steps += 1
bar.finish()
time.sleep(0.2)
steps = 0
bar.start()
while steps < maximum:
bar.update(steps)
time.sleep(0.1)
steps += 1
bar.finish()
Description
If i finish and then restart a bar using AdaptiveETA, instead of showing the ETA the bar shows me the Time.
Code
Versions