import: fix error in progress bar
This commit is contained in:
parent
177b5768ae
commit
c4203c87b1
|
@ -549,7 +549,6 @@ class ProgressBar:
|
||||||
def progress_update(self, fraction, sum):
|
def progress_update(self, fraction, sum):
|
||||||
|
|
||||||
progresspercent = float(fraction) / (float(sum) + 1.0)
|
progresspercent = float(fraction) / (float(sum) + 1.0)
|
||||||
x = sometext.center(100)
|
|
||||||
|
|
||||||
self.pbar.set_fraction(progresspercent)
|
self.pbar.set_fraction(progresspercent)
|
||||||
self.pbar.set_text(str(fraction) + " / " + str(sum))
|
self.pbar.set_text(str(fraction) + " / " + str(sum))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user