diff options
Diffstat (limited to 'module/database/StorageDatabase.py')
-rw-r--r-- | module/database/StorageDatabase.py | 2 |
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 |