generate: generate: Add newline when adding placeholder content to script
Signed-off-by: Enno Tensing <tenno@suij.in>
This commit is contained in:
parent
34b0d6f4ea
commit
6183b0907c
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ def main() -> None:
|
|||
script_content += ct.create_environment()
|
||||
script_content += method()
|
||||
if script_content == "":
|
||||
script_content = "true"
|
||||
script_content = "true\n"
|
||||
with s.open("w+", encoding="utf-8") as f:
|
||||
f.write(HEADER)
|
||||
f.write(script_content)
|
||||
|
|
Loading…
Add table
Reference in a new issue