More things that need to be bytes.

This commit is contained in:
Itamar Turner-Trauring 2020-12-23 10:09:37 -05:00
parent 15f2d433ae
commit eb8837a4c8

View File

@ -70,7 +70,7 @@ def renderJSON(resource):
"""
Render a JSON from the given resource.
"""
return render(resource, {"t": ["json"]})
return render(resource, {b"t": [b"json"]})
class MyBucketCountingCrawler(BucketCountingCrawler):
def finished_prefix(self, cycle, prefix):