mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
The dictionary is unicode, not bytes.
This commit is contained in:
parent
60992174ff
commit
3edc1cb29e
@ -27,6 +27,8 @@ class StoragePlugins(Resource, object):
|
||||
|
||||
:see: ``twisted.web.iweb.IResource.getChild``
|
||||
"""
|
||||
# Technically client could be using some other encoding?
|
||||
segment = segment.decode("utf-8")
|
||||
resources = self._client.get_client_storage_plugin_web_resources()
|
||||
try:
|
||||
result = resources[segment]
|
||||
|
Loading…
x
Reference in New Issue
Block a user