json blobs

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

View file

@ -640,7 +640,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