summaryrefslogtreecommitdiffstats
path: root/module/web/pyload_app.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/pyload_app.py')
-rw-r--r--module/web/pyload_app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py
index 553eeaa57..0370e19cb 100644
--- a/module/web/pyload_app.py
+++ b/module/web/pyload_app.py
@@ -470,7 +470,8 @@ def logs(item=-1):
@route("/admin", method="POST")
@login_required("ADMIN")
def admin():
- user = PYLOAD.getAllUserData()
+ # convert to dict
+ user = dict([(name, toDict(y)) for name, y in PYLOAD.getAllUserData().iteritems()])
perms = permlist()
for data in user.itervalues():