allow non-ascii letters in json output
This commit is contained in:
parent
d5b3811acb
commit
0a014f4324
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class CustomJsonEncoder(json.JSONEncoder):
|
|||
|
||||
def write_tags(tags):
|
||||
# Die Ergebnisse in JSON umwandeln.
|
||||
content = json.dumps(tags, indent=JSON_INDENT, cls=CustomJsonEncoder)
|
||||
content = json.dumps(tags, indent=JSON_INDENT, cls=CustomJsonEncoder, ensure_ascii=False)
|
||||
# Das JSON in eine Datei schreiben.
|
||||
with open(OUTPUT_FILE, 'w') as file:
|
||||
file.write(content)
|
||||
|
|
Loading…
Reference in a new issue