diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/utils/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/utils/__init__.py b/module/utils/__init__.py index 592bdbd7e..cdad1d222 100644 --- a/module/utils/__init__.py +++ b/module/utils/__init__.py @@ -66,7 +66,7 @@ def formatSize(size): """formats size of bytes""" size = int(size) steps = 0 - sizes = ["B", "KiB", "MiB", "GiB", "TiB"] + sizes = ("B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB") while size > 1000: size /= 1024.0 steps += 1 |