mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-10 12:20:02 +00:00
Clarify what it does.
This commit is contained in:
parent
0b57fb9df1
commit
c26f28584e
@ -17,7 +17,7 @@ import json
|
||||
|
||||
|
||||
def _bytes_to_unicode(obj):
|
||||
"""Convert keys of dicts from bytes to unicode, recursively."""
|
||||
"""Convert any bytes objects to unicode, recursively."""
|
||||
if isinstance(obj, bytes):
|
||||
return obj.decode("utf-8")
|
||||
if isinstance(obj, dict):
|
||||
|
Loading…
x
Reference in New Issue
Block a user