summaryrefslogtreecommitdiffstats
path: root/pyload/Database/Storage.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/Database/Storage.py')
-rw-r--r--pyload/Database/Storage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/Database/Storage.py b/pyload/Database/Storage.py
index a19f67606..1d6922a89 100644
--- a/pyload/Database/Storage.py
+++ b/pyload/Database/Storage.py
@@ -25,7 +25,7 @@ class StorageMethods(object):
return row[0]
else:
db.c.execute("SELECT key, value FROM storage WHERE identifier=?", (identifier,))
- return {row[0]: row[1] for row in db.c}
+ return dict((row[0], row[1]) for row in db.c)
@style.queue