← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #191510]: Problem in if else

 

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

j posted a new comment:
Can you post the crash message? 
Your code looks okay to me, although you can write it a little shorter as:

if exists():
    dosth()
elif exists():
    dosthelse()
else:
    doanythng()

Are your indents okay? Python doesn't like to many or less spaces.

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