Question #234886 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234886

    Status: Needs information => Answered

RaiMan proposed the following answer:
--- if not exists(wait("1377850214554.png",5)):

This is not a "legal" usage:

--- exists(xxx)
... expects xxx to be some image file name

--- wait(xxx)
... returns a Match object at success, which will internally be changed to a 
string (what you get when you say print wait(xxx)), which definitely is not a 
valid image filename.

what you want to achieve, can simply be done this way:
if not exists("1377850214554.png",5):

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to