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 b895a4e12..83ee66b93 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 dict(r[0], {"permission": r[1], "role": r[2], "template": r[3], "email": r[4]}) for r in db.c) + return dict((r[0], {"permission": r[1], "role": r[2], "template": r[3], "email": r[4]}) for r in db.c) @style.queue |