mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-09 03:44:23 +00:00
json.dumps output should always be ascii
This commit is contained in:
parent
2f53225765
commit
d0c22a529e
@ -167,7 +167,7 @@ def list_aliases(options):
|
||||
data = _get_alias_details(options['node-directory'])
|
||||
|
||||
if options['json']:
|
||||
output = _escape_format(json.dumps(data, indent=4).decode("utf-8"))
|
||||
output = _escape_format(json.dumps(data, indent=4).decode("ascii"))
|
||||
else:
|
||||
def dircap(details):
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user