From 524e0a56ba905722c983236b7c999c3dcae865ed Mon Sep 17 00:00:00 2001 From: Lexi Date: Sun, 26 Feb 2023 15:43:39 -0500 Subject: [PATCH] Fixed line endings in gitignore gen --- ModTemplateGenerator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ModTemplateGenerator.py b/ModTemplateGenerator.py index 3c62954b..c37681b1 100644 --- a/ModTemplateGenerator.py +++ b/ModTemplateGenerator.py @@ -183,8 +183,8 @@ def find_ksp2_install_path(): external_gitignore.write("*\n!.gitignore") with open(f"{mod_id}/.gitignore", "w") as main_gitignore: - main_gitignore.writelines( - [ + main_gitignore.write( + '\n'.join([ "*.rsuser", "*.suo", "*.user", @@ -205,7 +205,7 @@ def find_ksp2_install_path(): "[Oo]bj/", "[Ll]og/", "[Ll]ogs/", - ] + ]) ) with open(f"{release_folder}/modinfo.json", "w") as modinfo: