mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
More things that need to be bytes.
This commit is contained in:
parent
15f2d433ae
commit
eb8837a4c8
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user