summaryrefslogtreecommitdiffstats
path: root/module/database
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2011-02-11 21:45:41 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2011-02-11 21:45:41 +0100
commitd72a24be3c9100b183ad58acd58d1b3cdf727bd9 (patch)
treed704af73903310e0141f92e64440eacc872f3146 /module/database
parentThrift with SSL (diff)
downloadpyload-d72a24be3c9100b183ad58acd58d1b3cdf727bd9.tar.xz
Ev0InFetcher fix, gui cleanup
Diffstat (limited to 'module/database')
-rw-r--r--module/database/StorageDatabase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/database/StorageDatabase.py b/module/database/StorageDatabase.py
index dc3135c30..3ed29625f 100644
--- a/module/database/StorageDatabase.py
+++ b/module/database/StorageDatabase.py
@@ -38,7 +38,7 @@ class StorageMethods():
else:
db.c.execute("SELECT key, value FROM storage WHERE identifier=?", (identifier, ))
d = {}
- if row in db.c:
+ for row in db.c:
d[row[0]] = row[1]
return d