summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/virtBootstrap/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtBootstrap/utils.py b/src/virtBootstrap/utils.py
index 28a513c..bd95d35 100644
--- a/src/virtBootstrap/utils.py
+++ b/src/virtBootstrap/utils.py
@@ -121,7 +121,7 @@ def bytes_to_size(number):
else:
fmt = '%.2f %s'
- return(fmt % (number or 0, symbols[depth]))
+ return(fmt % (number or 0, symbols[depth])).strip()
def size_to_bytes(number, fmt):