Issue #1464: fix — force a new line prior to the End comment statement.

This commit is contained in:
Steven Black
2020-11-15 13:32:36 -05:00
parent ac175ae7ac
commit af9cc115a9

View File

@@ -775,7 +775,7 @@ def create_initial_file():
):
start = "# Start {}\n\n".format(os.path.basename(os.path.dirname(source)))
end = "# End {}\n\n".format(os.path.basename(os.path.dirname(source)))
end = "\n# End {}\n\n".format(os.path.basename(os.path.dirname(source)))
with open(source, "r", encoding="UTF-8") as curFile:
write_data(merge_file, start + curFile.read() + end)