summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()