diff options
author | drebs <drebs@leap.se> | 2017-07-18 16:01:35 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-07-18 16:01:40 -0300 |
commit | cf4500a96ba1994afb3705d455f52ad07123e2a1 (patch) | |
tree | 0f2218ec5784a726034b779dc58a7cf270c98cb2 /src/leap | |
parent | 3135421cbfded2111328178505b98753b9644a65 (diff) |
[bug] avoid closing blobmanager if it doesn't exist
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/soledad/client/api.py | 3 |
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() |