From 9232b1873307a805555d585327c64d7f1093afa4 Mon Sep 17 00:00:00 2001 From: Oskar Thoren Date: Wed, 16 Oct 2019 14:21:17 +0800 Subject: [PATCH] fmt --- whisper_scalability/whisper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whisper_scalability/whisper.py b/whisper_scalability/whisper.py index f42d535..28dfd4c 100644 --- a/whisper_scalability/whisper.py +++ b/whisper_scalability/whisper.py @@ -12,7 +12,7 @@ class bcolors: def sizeof_fmt(num): for x in ['bytes','KB','MB','GB','TB']: if num < 1024.0: - return "%3.1f%s" % (num, x) + return "%6.1f%s" % (num, x) num /= 1024.0 def magnitude_fmt(num):