summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/leap/soledad')
-rw-r--r--client/src/leap/soledad/client/_blobs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/leap/soledad/client/_blobs.py b/client/src/leap/soledad/client/_blobs.py
index 24e2fa65..a44b0ca2 100644
--- a/client/src/leap/soledad/client/_blobs.py
+++ b/client/src/leap/soledad/client/_blobs.py
@@ -220,8 +220,7 @@ class BlobManager(object):
logger.info("Got decrypted blob of type: %s" % type(blob))
blob.seek(0)
yield self.local.put(blob_id, blob, size=size)
- blob.seek(0)
- defer.returnValue(blob)
+ defer.returnValue((yield self.local.get(blob_id)))
else:
# XXX we shouldn't get here, but we will...
# lots of ugly error handling possible: