From 7b2a4a3d592758aa6d633dda18559c230e59d633 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 18 Aug 2020 18:22:23 +0000 Subject: [PATCH] v0.5.2 --- copyparty/__version__.py | 4 ++-- copyparty/util.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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])