diff --git a/mikrotik_configurator/generator.py b/mikrotik_configurator/generator.py index f3fdead..5abe8da 100644 --- a/mikrotik_configurator/generator.py +++ b/mikrotik_configurator/generator.py @@ -28,7 +28,7 @@ def load_file(path, name): cnt = f""" :execute script=":put \\"{esc}\\"" file="{name}" -:delay 1000ms +:while ([:len [/file find where name=\"{name}\"]]=0) do={{:delay 100ms}} """ return cnt