Update public.py

This commit is contained in:
Mr Chen
2019-01-19 16:39:57 +08:00
parent ec3f8c0249
commit 6d8048af2f
+1 -1
View File
@@ -809,7 +809,7 @@ def toSize(size):
for b in d:
if size < 1024:
return str(round(size, 2)) + ' ' + b
size = size / 1024
size = size / 1024.0
s = b
return str(round(size, 2)) + ' ' + b