sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35803
Re: [Question #276029]: not correct work of operator IF
Question #276029 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/276029
Status: Open => Answered
RaiMan proposed the following answer:
--- using if ((checkdock()==1) and (checkenemy()==0)):
then this is according to the Python eval rules:
In <a and b>, if a is False, then b is never evaluated.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.