diff options
Diffstat (limited to 'pyload/database/User.py')
-rw-r--r-- | pyload/database/User.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/database/User.py b/pyload/database/User.py index 2aedc3bba..b5b44c50a 100644 --- a/pyload/database/User.py +++ b/pyload/database/User.py @@ -82,7 +82,7 @@ class UserMethods(object): @style.queue def getAllUserData(db): db.c.execute("SELECT name, permission, role, template, email FROM users") - return {{"permission": r[1], "role": r[2], "template": r[3], "email": r[4]} for r in db.c} + return {r[0]: {"permission": r[1], "role": r[2], "template": r[3], "email": r[4]} for r in db.c} @style.queue |