diff --git a/src/util.py b/src/util.py --- a/src/util.py +++ b/src/util.py @@ -6,8 +6,6 @@ def progress(i, n, i0=0): i*=-1 n*=-1 i0*=-1 - assert i0<=i_progress(i-1,n,i0): - print(r"{0}%".format(percentage),end="") - if percentage==100: print() + print("{0}%".format(percentage),end="\r")