summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad/client/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/leap/soledad/client/api.py')
-rw-r--r--client/src/leap/soledad/client/api.py3
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 a1588aa9..33eae2c4 100644
--- a/client/src/leap/soledad/client/api.py
+++ b/client/src/leap/soledad/client/api.py
@@ -311,7 +311,8 @@ class Soledad(object):
sync_exchange_phase = 0
if getattr(self._dbsyncer, 'syncer', None):
if getattr(self._dbsyncer.syncer, 'sync_exchange_phase', None):
- sync_exchange_phase = self._dbsyncer.syncer.sync_exchange_phase[0]
+ _p = self._dbsyncer.syncer.sync_exchange_phase[0]
+ sync_exchange_phase = _p
return sync_phase, sync_exchange_phase
#