diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/leap/soledad/client/api.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py index 998e9148..81bf1fd9 100644 --- a/client/src/leap/soledad/client/api.py +++ b/client/src/leap/soledad/client/api.py @@ -285,7 +285,8 @@ class Soledad(object): """ logger.debug("Closing soledad") self._dbpool.close() - self._dbsyncer.close() + if getattr(self, '_dbsyncer', None): + self._dbsyncer.close() # # ILocalStorage |