sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #22086
Re: [Question #238004]: Click() function fails to click on image name passed to it parameter of list element
Question #238004 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/238004
Status: Open => Answered
RaiMan proposed the following answer:
You did not answer my first question/assumptions from comment #1, but
anyway:
a problem might be, that line and hence var[n] still contains a newline "\n" at the end of the string.
The usual approach to get rid of whitespace is:
var.append(line.strip())
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.