← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #191922]: Sikuli indent problem

 

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

    Status: Open => Answered

Roman Podolyan proposed the following answer:
> this is an if else statment now i want it to end
> and then click on some images at the end but it is giving me error how to specify an if else statmeent ended

If I got you correctly, you broke Python block rules. To end block you
should start the next line with same offset as if-condition line

1 if something:
2     some_action1
3     some_action2
4 line_after_block

Line 4 is out of "if" block, back to main.


> and now to cosider the steps not as if else and to consider after each statment

I can't understand this place. Can you provide more details?

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