← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #287160]: no error and no run

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
nothing to do - only function definitions, that are not used/called.

might be your intention was (mind indentation):

def ex(exname):
    exists(exname)
def cl(clname):
    click(clname)

if ex("001.png"):
    cl("002.png")
else :
    popup("no find")

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.