mirror of
https://github.com/xtream1101/humblebundle-downloader.git
synced 2025-02-01 19:42:43 +01:00
Flake8 fix
This commit is contained in:
parent
aaa8ecc7ba
commit
8561180f3f
@ -349,8 +349,7 @@ class DownloadLibrary:
|
|||||||
done = int(pb_width * dl / total_length)
|
done = int(pb_width * dl / total_length)
|
||||||
if self.progress_bar:
|
if self.progress_bar:
|
||||||
print("\t{percent}% [{filler}{space}]"
|
print("\t{percent}% [{filler}{space}]"
|
||||||
.format(local_filename=local_filename,
|
.format(percent=int(done * (100 / pb_width)),
|
||||||
percent=int(done * (100 / pb_width)),
|
|
||||||
filler='=' * done,
|
filler='=' * done,
|
||||||
space=' ' * (pb_width - done),
|
space=' ' * (pb_width - done),
|
||||||
), end='\r')
|
), end='\r')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user