format=j1: output in utf8
This commit is contained in:
parent
ac62bb7387
commit
5b9ccb31d5
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ def render_line(line, data, query):
|
|||
return re.sub(template_regexp, render_symbol, line)
|
||||
|
||||
def render_json(data):
|
||||
output = json.dumps(data, indent=4, sort_keys=True)
|
||||
output = json.dumps(data, indent=4, sort_keys=True, ensure_ascii=False)
|
||||
|
||||
output = "\n".join(
|
||||
re.sub('"[^"]*worldweatheronline[^"]*"', '""', line) if "worldweatheronline" in line else line
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue