Fixed length progress bar.

This commit is contained in:
Jakub Roztocil committed 2013-04-12 21:49:27 -03:00
1 parent fc4f70a900
commit d17e02792b
4 files changed
+30 -15

No files matched your search

+1 -1
View File
@@ -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: