summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-08-13 21:28:08 -0400
committerKali Kaneko <kali@leap.se>2017-08-23 01:51:39 -0400
commit17b112684490a9bcfd09aef2a9b5b4c6d863e4c0 (patch)
treef2f8eb5c864f72a31d5e3ee392b6325b1a34434a
parentcbb4e8477d63faa7b996673c3de3cfeff4919a66 (diff)
[bug] use correct uuid in blobmanager setup
-rw-r--r--src/leap/soledad/client/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/soledad/client/api.py b/src/leap/soledad/client/api.py
index acc0e268..2323909b 100644
--- a/src/leap/soledad/client/api.py
+++ b/src/leap/soledad/client/api.py
@@ -276,7 +276,7 @@ class Soledad(object):
def _init_blobmanager(self):
path = os.path.join(os.path.dirname(self._local_db_path), 'blobs')
- url = urlparse.urljoin(self.server_url, 'blobs/%s' % uuid)
+ url = urlparse.urljoin(self.server_url, 'blobs/%s' % self.uuid)
key = self._secrets.local_key
self.blobmanager = blobs.BlobManager(path, url, key, self.uuid,
self.token, SOLEDAD_CERT)