mirror of
https://github.com/KrystianD/mikrotik_configurator.git
synced 2025-08-02 01:05:16 +02:00
improved waiting for file creation
This commit is contained in:
parent
9331c68026
commit
fee79e60e2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue