i18n-tools: Write a newline when unescaping json data contents.

Updates `tools/i18n/unescape-contents` to write a newline at the end
of the file when updating the json data.
This commit is contained in:
Lauryn Menard 2024-06-04 14:57:49 +02:00 committed by Tim Abbott
parent 593a1f12b7
commit d911e9b43f
1 changed files with 1 additions and 0 deletions

View File

@ -58,3 +58,4 @@ if __name__ == "__main__":
# somewhat-implicit JSON unescape. This may behave in unexpected ways
# on other OSes or system encodings.
json.dump(json_data, dest, ensure_ascii=False, indent=args.indent_level)
dest.write("\n")