mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +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