mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-28 06:04:17 +01:00
progressbar: this should be bit smaller because of fetcher.http
using bytes instead of low number takes more room
This commit is contained in:
parent
ccc502f4a1
commit
aba4d892f8
@ -105,7 +105,7 @@ def progressbar(total, pos, msg=""):
|
||||
Of course, the ETA part should be supplied be the calling
|
||||
function.
|
||||
"""
|
||||
width = get_terminal_size()[0] - 35
|
||||
width = get_terminal_size()[0] - 40
|
||||
rel_pos = int(float(pos)/total*width)
|
||||
bar = ''.join(["=" * rel_pos, "." * (width - rel_pos)])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user