From b4408f695e9158e0cd6e11b83b726bac4ecdbee2 Mon Sep 17 00:00:00 2001 From: Tomas Touceda Date: Tue, 14 May 2013 19:29:40 -0300 Subject: Fix wrong variable naming --- src/leap/soledad/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/leap/soledad/__init__.py') 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, -- cgit v1.2.3