summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/src/leap/soledad/client/sqlcipher.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/leap/soledad/client/sqlcipher.py b/client/src/leap/soledad/client/sqlcipher.py
index 26e74ef5..45629045 100644
--- a/client/src/leap/soledad/client/sqlcipher.py
+++ b/client/src/leap/soledad/client/sqlcipher.py
@@ -488,8 +488,9 @@ class SQLCipherDatabase(sqlite_backend.SQLitePartialExpandDatabase):
logger.warning("Local sync db is not clear, skipping sync...")
return
except CannotSendRequest:
- logger.warning("Connection with sync target couldn't be established. Resetting connection...")
- # closing the connection it will get it recreated in the next try
+ logger.warning("Connection with sync target couldn't be "
+ "established. Resetting connection...")
+ # closing the connection it will be recreated in the next try
syncer.sync_target.close()
return