remove excessive newlines

This commit is contained in:
Krystian Dużyński 2024-01-03 16:02:56 +01:00
parent eeab00e413
commit d4ec303813

View File

@ -56,6 +56,9 @@ def main():
script += "\n/log info message=\"CONFIGURATION DONE\"\n" script += "\n/log info message=\"CONFIGURATION DONE\"\n"
while "\n\n\n" in script:
script = script.replace("\n\n\n", "\n\n")
base_path = "flash/" if has_flash else "" base_path = "flash/" if has_flash else ""
script_name = "output.rsc" script_name = "output.rsc"