improved waiting for file creation

This commit is contained in:
Krystian Dużyński 2023-04-21 22:33:38 +02:00
parent 9331c68026
commit fee79e60e2

View File

@ -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