Zero size file bugfix

This commit is contained in:
Dmitry Petrov
2017-06-25 00:33:03 -04:00
parent a96b61bd4e
commit 059fcc028d
+1 -1
View File
@@ -63,7 +63,7 @@ class Progress(object):
percent = "?% "
else:
total = int(total)
progress = int((100 * current)/total) if current <= total else 100
progress = int((100 * current)/total) if current < total else 100
percent = str(progress) + "% "
num = "({}/{}): ".format(self._n_finished + 1, self._n_total)