fix: The correct number is displayed

Signed-off-by: Kei Matsumoto <umaretekyoumade@gmail.com>
This commit is contained in:
Goryudyuma 2019-06-03 21:57:07 +09:00
parent df2e833cf0
commit f9099c91ae
No known key found for this signature in database
GPG Key ID: 4D4F3A52ACE7F202
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ def human_readable_file_size(size):
if order >= len(suffixes):
order = len(suffixes) - 1
return '{0:.3g} {1}'.format(
return '{0:.4g} {1}'.format(
size / float(1 << (order * 10)),
suffixes[order]
)