mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
v0.5.2
This commit is contained in:
parent
0265455cd1
commit
7b2a4a3d59
|
@ -1,8 +1,8 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
VERSION = (0, 5, 1)
|
VERSION = (0, 5, 2)
|
||||||
CODENAME = "fuse jelly"
|
CODENAME = "fuse jelly"
|
||||||
BUILD_DT = (2020, 8, 17)
|
BUILD_DT = (2020, 8, 18)
|
||||||
|
|
||||||
S_VERSION = ".".join(map(str, VERSION))
|
S_VERSION = ".".join(map(str, VERSION))
|
||||||
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
||||||
|
|
|
@ -339,7 +339,7 @@ def humansize(sz, terse=False):
|
||||||
if sz < 1024:
|
if sz < 1024:
|
||||||
break
|
break
|
||||||
|
|
||||||
sz /= 1024
|
sz /= 1024.
|
||||||
|
|
||||||
ret = ' '.join([str(sz)[:4].rstrip('.'), unit])
|
ret = ' '.join([str(sz)[:4].rstrip('.'), unit])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue