mirror of https://github.com/zulip/zulip.git
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:
parent
593a1f12b7
commit
d911e9b43f
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue