mirror of
https://github.com/KrystianD/mikrotik_configurator.git
synced 2025-06-21 10:08:15 +02:00
improved waiting for file creation
This commit is contained in:
parent
9331c68026
commit
fee79e60e2
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user