diff options
Diffstat (limited to 'ranger/ext/human_readable.py')
-rw-r--r-- | ranger/ext/human_readable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/human_readable.py b/ranger/ext/human_readable.py index 2626792e..6810c47d 100644 --- a/ranger/ext/human_readable.py +++ b/ranger/ext/human_readable.py @@ -24,7 +24,7 @@ def human_readable(byte, seperator=' '): exponent = int(math.log(byte, 2) / 10) flt = float(byte) / (1 << (10 * exponent)) - + if exponent > MAX_EXPONENT: return '>9000' # off scale |