← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #655234]: Multiple else if

 

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

    Status: Open => Answered

Manfred Hampl proposed the following answer:
The message at the bottom states that it is an indentation error.

All "elif" statements must be at the same indentation level as the "if"
they belong to (and the last "else" as well).

See the Python manual for details how Python uses indentation to group
statements.

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