summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-19 18:59:02 +0100
committerhut <hut@lavabit.com>2010-01-19 18:59:02 +0100
commit9c2bd85db83c302d03d24045236d0613522be563 (patch)
treed23c543fca41e27013f1955c6f24466e9baa825c
parentb42eb058fb9987d807d0a813573745bad1e68248 (diff)
downloadranger-9c2bd85db83c302d03d24045236d0613522be563.tar.gz
human_readable: slight improvement of output format
-rw-r--r--ranger/ext/human_readable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/human_readable.py b/ranger/ext/human_readable.py
index ad883907..2626792e 100644
--- a/ranger/ext/human_readable.py
+++ b/ranger/ext/human_readable.py
@@ -20,7 +20,7 @@ def human_readable(byte, seperator=' '):
 	import math
 
 	if not byte:
-		return '0 B'
+		return '0'
 
 	exponent = int(math.log(byte, 2) / 10)
 	flt = float(byte) / (1 << (10 * exponent))