mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-07 11:50:21 +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.
|
Render a JSON from the given resource.
|
||||||
"""
|
"""
|
||||||
return render(resource, {"t": ["json"]})
|
return render(resource, {b"t": [b"json"]})
|
||||||
|
|
||||||
class MyBucketCountingCrawler(BucketCountingCrawler):
|
class MyBucketCountingCrawler(BucketCountingCrawler):
|
||||||
def finished_prefix(self, cycle, prefix):
|
def finished_prefix(self, cycle, prefix):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user