From d010d6d51635be01619d129faa26cd6e0ec36687 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 28 Mar 2017 00:07:20 -0300 Subject: [bug] return empty local_list instead of None --- client/src/leap/soledad/client/_blobs.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client') 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): -- cgit v1.2.3