diff options
Diffstat (limited to 'pyload/webui/app/utils.py')
-rw-r--r-- | pyload/webui/app/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/webui/app/utils.py b/pyload/webui/app/utils.py index 2e7cf76c5..5663c6f58 100644 --- a/pyload/webui/app/utils.py +++ b/pyload/webui/app/utils.py @@ -112,7 +112,7 @@ def login_required(perm=None): def toDict(obj): - return {att: getattr(obj, att) for att in obj.__slots__} + return dict((att, getattr(obj, att)) for att in obj.__slots__) class CherryPyWSGI(ServerAdapter): |