Commit 002497c8 authored by Leo Iannacone's avatar Leo Iannacone

better Bytes tag

parent a81bfce3
......@@ -120,7 +120,7 @@ class DebomaticModule_JSONLogger:
infofd.write(json + '\n')
def _get_human_size(self, num):
for x in ['b', 'KB', 'MB', 'GB', 'TB']:
for x in ['B ', 'KB', 'MB', 'GB', 'TB']:
if num < 1024.0:
return "%3.1f %s" % (num, x)
num /= 1024.0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment