Add newline to end of file

This commit is contained in:
Emil Lundberg 2023-11-02 13:40:44 +01:00
parent 0b3d451873
commit f596db966b
No known key found for this signature in database
GPG Key ID: 0F47E61493A9B8E5

View File

@ -65,7 +65,7 @@ def update_arb_file(source_path, target_path, language_code):
if line.strip() == "":
target_lines.insert(i, "")
write_to_file(target_path, "\n".join(target_lines))
write_to_file(target_path, "\n".join(target_lines).strip() + "\n")
if __name__ == "__main__":