global-functions: $WaitForFile: drop extra conversion

This commit is contained in:
Christian Hesse 2024-04-29 17:59:41 +02:00
parent 517ed7bf8c
commit eae8dbbb37

View file

@ -1521,7 +1521,7 @@
:set FileName [ $CleanFilePath $FileName ];
:local I 1;
:local Delay ([ :totime [ $MAX [ $EitherOr $WaitTime 2s ] 100ms ] ] / 10);
:local Delay ([ $MAX [ $EitherOr $WaitTime 2s ] 100ms ] / 10);
:while ([ :len [ /file/find where name=$FileName ] ] = 0) do={
:if ($I >= 10) do={