summaryrefslogtreecommitdiff
path: root/src/leap/soledad/__init__.py
diff options
context:
space:
mode:
authorTomas Touceda <chiiph@leap.se>2013-05-14 19:29:40 -0300
committerTomas Touceda <chiiph@leap.se>2013-05-14 19:29:40 -0300
commitb4408f695e9158e0cd6e11b83b726bac4ecdbee2 (patch)
tree470d785d7670faa75bfc79ed35897e3c582b34a2 /src/leap/soledad/__init__.py
parent85fa4c91448e36658679cbac982ee00b18f95daa (diff)
Fix wrong variable naming
Diffstat (limited to 'src/leap/soledad/__init__.py')
-rw-r--r--src/leap/soledad/__init__.py4
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,