diff options
author | Tomas Touceda <chiiph@leap.se> | 2013-05-14 19:29:40 -0300 |
---|---|---|
committer | Tomas Touceda <chiiph@leap.se> | 2013-05-14 19:29:40 -0300 |
commit | b4408f695e9158e0cd6e11b83b726bac4ecdbee2 (patch) | |
tree | 470d785d7670faa75bfc79ed35897e3c582b34a2 /src | |
parent | 85fa4c91448e36658679cbac982ee00b18f95daa (diff) |
Fix wrong variable naming
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/soledad/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/soledad/__init__.py b/src/leap/soledad/__init__.py index b41987cf..70ff146d 100644 --- a/src/leap/soledad/__init__.py +++ b/src/leap/soledad/__init__.py @@ -306,7 +306,7 @@ class Soledad(object): """ paths = map( lambda x: os.path.dirname(x), - [self.local_db_path, self._secrets_path]) + [self._local_db_path, self._secrets_path]) for path in paths: logger.info('Creating directory: %s.' % path) mkdir_p(path) @@ -319,7 +319,7 @@ class Soledad(object): # TODO: verify if secret for sqlcipher should be the same as the # one for symmetric encryption. self._db = sqlcipher.open( - self.local_db_path, + self._local_db_path, self._get_storage_secret(), create=True, document_factory=LeapDocument, |