mirror of
https://github.com/httpie/cli.git
synced 2026-06-20 11:32:56 +02:00
Fixed length progress bar.
This commit is contained in:
1 parent
fc4f70a900
commit
d17e02792b
4 files changed
+30
-15
No files matched your search
+1
-1
@@ -33,7 +33,7 @@ def humanize_bytes(n, precision=2):
|
||||
(1 << 30, 'GB'),
|
||||
(1 << 20, 'MB'),
|
||||
(1 << 10, 'kB'),
|
||||
(1, 'bytes')
|
||||
(1, 'B')
|
||||
]
|
||||
|
||||
if n == 1:
|
||||
|
||||
Reference in new issue
Block a user