Bug on shellbags command when the output is json

Update html.py for bug on shellbags command when the output is set to json
This commit is contained in:
Mifraz Murthaja
2018-11-24 15:02:38 +05:30
committed by GitHub
parent 99bf82a21d
commit ca5bee5690
+1 -1
View File
@@ -48,4 +48,4 @@ class JSONRenderer(Renderer):
raise NotImplementedError("JSON output for trees has not yet been implemented")
# TODO: Output (basic) type information in JSON
json_input = {"columns": [column.name for column in data.columns], "rows": data.visit(None, self.render_row, [])}
return outfd.write(json.dumps(json_input))
return outfd.write(json.dumps(json_input,ensure_ascii=False))