mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update public.py
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user