mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 12:15:40 +01:00
parent
9b1d2aa657
commit
1d222eacc3
@ -101,7 +101,7 @@ def progressbar(total, pos, msg=""):
|
||||
Of course, the ETA part should be supplied be the calling
|
||||
function.
|
||||
"""
|
||||
width = get_terminal_size()[0] - 25
|
||||
width = get_terminal_size()[0] - 35
|
||||
rel_pos = int(float(pos)/total*width)
|
||||
bar = ''.join(["=" * rel_pos, "." * (width - rel_pos)])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user