utils: Add missing "B" for pretty_size()

* Add missing unit for megabytes, should print "MB".
This commit is contained in:
Kyle Manna 2013-08-13 15:35:33 -07:00
parent f850bdd848
commit 4ede2f126a
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ def pretty_size(size):
suffixes = [
("B", 2**10),
("kB", 2**20),
("M", 2**30),
("MB", 2**30),
]
for suf, lim in suffixes:
if size >= lim: