import: fix error in progress bar

This commit is contained in:
gimick 2010-09-04 13:08:58 +01:00
parent 177b5768ae
commit c4203c87b1

View File

@ -549,7 +549,6 @@ class ProgressBar:
def progress_update(self, fraction, sum):
progresspercent = float(fraction) / (float(sum) + 1.0)
x = sometext.center(100)
self.pbar.set_fraction(progresspercent)
self.pbar.set_text(str(fraction) + " / " + str(sum))