From 613a81facc799fd5f76c6057c168bfb41f7bf790 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 15 Mar 2017 20:59:37 -0300 Subject: [test] BlobManager encrypt test --- client/src/leap/soledad/client/_blobs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/leap') 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 -- cgit v1.2.3