Question #151161 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/151161
Status: Open => Answered
RaiMan proposed the following answer:
Are the 3 lines in your post
[error] Stoppad
[error] Ett fel uppstod på rad 7
[error] Felmeddelande:
really the only text? there should be something like:
[error] Abgebrochen
[error] Ein Fehler in Zeile 4
[error] Fehlermeldung:
SyntaxError: ("'break' outside loop",
('/var/folders/C9/C9+A8gl7F9GRQtCP6jc+VU+++TI/-Tmp-/sikuli-tmp2636007879302044051.py',
4, 4, ''))
because break cannot be used as you try to use it
I guess you want to leave the function at this point: use return instead
of break.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp