summaryrefslogtreecommitdiff
path: root/client/src
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-03-15 20:59:37 -0300
committerdrebs <drebs@leap.se>2017-04-04 18:27:33 +0200
commit613a81facc799fd5f76c6057c168bfb41f7bf790 (patch)
treefc107577479563ef02d4aef43f0863ce908508ff /client/src
parent0b9d59f0a61ac05aa1dd751d17f2ef58eea8a2d0 (diff)
[test] BlobManager encrypt test
Diffstat (limited to 'client/src')
-rw-r--r--client/src/leap/soledad/client/_blobs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/_blobs.py b/client/src/leap/soledad/client/_blobs.py
index e0326378..34ce8f4a 100644
--- a/client/src/leap/soledad/client/_blobs.py
+++ b/client/src/leap/soledad/client/_blobs.py
@@ -151,7 +151,8 @@ class BlobManager(object):
"""
def __init__(self, local_path, remote, key, secret, user):
- self.local = SQLiteBlobBackend(local_path, key)
+ if local_path:
+ self.local = SQLiteBlobBackend(local_path, key)
self.remote = remote
self.secret = secret
self.user = user