sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #08073
Re: [Question #184485]: How escape sikuli type in order to have type python code
Question #184485 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/184485
Status: Open => Answered
RaiMan proposed the following answer:
Python's type() is overlaid by Sikuli's type() (known problem) (see
https://answers.launchpad.net/sikuli/+question/181279)
my preferred workaround: isinstance(some_object,class)
your case:
if type(isinstance(toString(mca), list) and value == ["kk","jj"]:
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.