Update public.py

pull/109/head
Mr Chen 6 years ago
parent 80fd3475e0
commit 302bfceb9c
  1. 2
      class/core/public.py

@ -809,7 +809,7 @@ def toSize(size):
for b in d: for b in d:
if size < 1024: if size < 1024:
return str(round(size, 2)) + ' ' + b return str(round(size, 2)) + ' ' + b
size = size / 1024.0 size = float(size) / 1024.0
s = b s = b
return str(round(size, 2)) + ' ' + b return str(round(size, 2)) + ' ' + b

Loading…
Cancel
Save