Skip to content

Commit

Permalink
fix: Add newline when handling include!
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed May 23, 2024
1 parent cc615d0 commit 46d9c33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions genisolist.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ def process_include(ini: Path) -> str:
ini_contents += process_include(include_file)
else:
ini_contents += line
# add a newline at the end of the file, to avoid it being concatenated with the next file
ini_contents += "\n"
return ini_contents

ini_contents = process_include(ini)
Expand Down

0 comments on commit 46d9c33

Please sign in to comment.