summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-08-04 19:22:58 -0400
committerKali Kaneko <kali@leap.se>2015-08-04 19:23:58 -0400
commit1377bb4cea6c2fa8198e74831c1b8e4e0c0b34e9 (patch)
tree62e24f8789e7808d713650e4da4dd629179790cc /client
parent0b1e55d3142d7012cd7fef39b6ed77be69d5ee11 (diff)
[bug] Soledad._crypto has to be initialized earlier
before sqlcipher backend, or the attribute is not found. this is a leftover of the recent refactor
Diffstat (limited to 'client')
-rw-r--r--client/src/leap/soledad/client/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py
index 101c235e..303dde12 100644
--- a/client/src/leap/soledad/client/api.py
+++ b/client/src/leap/soledad/client/api.py
@@ -196,9 +196,9 @@ class Soledad(object):
# The following can raise BootstrapSequenceError, that will be
# propagated upwards.
self._init_secrets()
- self._init_u1db_sqlcipher_backend()
self._crypto = SoledadCrypto(self._secrets.remote_storage_secret)
+ self._init_u1db_sqlcipher_backend()
if syncable:
self._init_u1db_syncer()