Commit 17712c63 authored by norvell's avatar norvell
Browse files

Remove 'u' since characters are no longer unicode

parent 586f8193
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -275,7 +275,7 @@ def progressbar(iter: Iterable, width=80):
    def update(progress):
        fill = int(width * progress / count)
        print(
            f"{int(progress/count*100):3d}%{u'|'}{u'X'*fill}{(u'.'*(width-fill))}{u'|'}{progress}/{count}",
            f"{int(progress/count*100):3d}%{'|'}{'X'*fill}{('.'*(width-fill))}{'|'}{progress}/{count}",
            end="\r",
            file=sys.stdout,
            flush=True,