← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #171725]: Multiple if else indent problem

 

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

RaiMan proposed the following answer:
The problem is, that the used indentations are inconsistent within the
for loop.

The only consistent way to solve this (besides try and error):

- delete all lines after the last sleep
- select all lines
- press shift-tab until all lines are left aligned
- then use tab on each line to insert the correct indentation

NEVER use blanks for indentation and never use backspace/delete to clear
indentations - ALWAYS use TAB and SHIFT-TAB being at the beginning of
the line.

rc3 has some automatic indentation which is consistent with this rule.

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