summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-03-28 00:07:20 -0300
committerdrebs <drebs@leap.se>2017-04-19 11:37:06 +0200
commitd010d6d51635be01619d129faa26cd6e0ec36687 (patch)
tree3cd2727ec9b7d02e4fb90dbf34a842506fef213b
parent9173c7af657392a5905ed44efaeacd8bf78ff722 (diff)
[bug] return empty local_list instead of None
-rw-r--r--client/src/leap/soledad/client/_blobs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/leap/soledad/client/_blobs.py b/client/src/leap/soledad/client/_blobs.py
index a44b0ca2..6f692f6b 100644
--- a/client/src/leap/soledad/client/_blobs.py
+++ b/client/src/leap/soledad/client/_blobs.py
@@ -323,6 +323,8 @@ class SQLiteBlobBackend(object):
result = yield self.dbpool.runQuery(query)
if result:
defer.returnValue([b_id[0] for b_id in result])
+ else:
+ defer.returnValue([])
def _init_blob_table(conn):