diff --git a/copyparty/__version__.py b/copyparty/__version__.py index 8c86923e..dcc608e5 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (0, 5, 1) +VERSION = (0, 5, 2) CODENAME = "fuse jelly" -BUILD_DT = (2020, 8, 17) +BUILD_DT = (2020, 8, 18) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/util.py b/copyparty/util.py index ea47c489..3b366729 100644 --- a/copyparty/util.py +++ b/copyparty/util.py @@ -339,7 +339,7 @@ def humansize(sz, terse=False): if sz < 1024: break - sz /= 1024 + sz /= 1024. ret = ' '.join([str(sz)[:4].rstrip('.'), unit])