From d72a24be3c9100b183ad58acd58d1b3cdf727bd9 Mon Sep 17 00:00:00 2001 From: mkaay Date: Fri, 11 Feb 2011 21:45:41 +0100 Subject: Ev0InFetcher fix, gui cleanup --- module/database/StorageDatabase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/database') 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 -- cgit v1.2.3