diff options
author | drebs <drebs@leap.se> | 2013-02-06 18:01:58 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-02-06 18:03:44 -0200 |
commit | 4a0ecb6832f28453976757fe4a7c4a5f1f811105 (patch) | |
tree | 4294644a391cf534027cb83cb95bec56758b9672 /src/leap/soledad/backends/sqlcipher.py | |
parent | 6328511e86429bcd23f6ca179ef10114aa69a4e9 (diff) |
SQLCipher syncs using LeapSyncTarget.
Diffstat (limited to 'src/leap/soledad/backends/sqlcipher.py')
-rw-r--r-- | src/leap/soledad/backends/sqlcipher.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/leap/soledad/backends/sqlcipher.py b/src/leap/soledad/backends/sqlcipher.py index 6cebcf7d..354fcd31 100644 --- a/src/leap/soledad/backends/sqlcipher.py +++ b/src/leap/soledad/backends/sqlcipher.py @@ -131,8 +131,11 @@ class SQLCipherDatabase(SQLitePartialExpandDatabase): """ from u1db.sync import Synchronizer from leap.soledad.backends.leap_backend import LeapSyncTarget - return Synchronizer(self, LeapSyncTarget(url, creds=creds), - soledad=self._soledad).sync(autocreate=autocreate) + return Synchronizer( + self, + LeapSyncTarget(url, + creds=creds, + soledad=self._soledad)).sync(autocreate=autocreate) def _extra_schema_init(self, c): c.execute( |