Update index.py

pull/205/head
midoks 3 years ago
parent ec11904959
commit abf39428fc
  1. 2
      plugins/swap/index.py

@ -168,7 +168,7 @@ def initdUinstall():
def swapStatus():
sfile = getServerDir() + '/swapfile'
size = os.path.getsize(sfile)
size = os.path.getsize(sfile) / 1024 / 1024
data = {'size': size}
return mw.returnJson(True, "ok", data)

Loading…
Cancel
Save