summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-07-18 16:01:35 -0300
committerdrebs <drebs@leap.se>2017-07-18 16:01:40 -0300
commitcf4500a96ba1994afb3705d455f52ad07123e2a1 (patch)
tree0f2218ec5784a726034b779dc58a7cf270c98cb2 /src
parent3135421cbfded2111328178505b98753b9644a65 (diff)
[bug] avoid closing blobmanager if it doesn't exist
Diffstat (limited to 'src')
-rw-r--r--src/leap/soledad/client/api.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/soledad/client/api.py b/src/leap/soledad/client/api.py
index f7854158..acc0e268 100644
--- a/src/leap/soledad/client/api.py
+++ b/src/leap/soledad/client/api.py
@@ -291,7 +291,8 @@ class Soledad(object):
"""
logger.debug("closing soledad")
self._dbpool.close()
- self.blobmanager.close()
+ if self.blobmanager:
+ self.blobmanager.close()
if getattr(self, '_dbsyncer', None):
self._dbsyncer.close()