json blobs

This commit is contained in:
Jack Robison 2017-09-28 13:52:30 -04:00
parent 50b51569a3
commit 82a2805aaf
No known key found for this signature in database
GPG key ID: 284699E7404E3CFF

View file

@ -631,7 +631,7 @@ class Daemon(AuthJSONRPCServer):
host = yield self.session.blob_manager.get_host_downloaded_from(blob_hash)
if host:
blobs[blob_num] = host
report["blobs"] = blobs
report["blobs"] = json.dumps(blobs)
defer.returnValue(report)
@defer.inlineCallbacks