mirror of
https://github.com/KrystianD/mikrotik_configurator.git
synced 2025-06-23 02:51:29 +02:00
remove excessive newlines
This commit is contained in:
parent
eeab00e413
commit
d4ec303813
@ -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"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user