From d911e9b43f589d65279b32387312b12ef9a2a4ab Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Tue, 4 Jun 2024 14:57:49 +0200 Subject: [PATCH] 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. --- tools/i18n/unescape-contents | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/i18n/unescape-contents b/tools/i18n/unescape-contents index b388fffe8d..3b7933a073 100755 --- a/tools/i18n/unescape-contents +++ b/tools/i18n/unescape-contents @@ -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")