← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678305]: [1.1.4] Python scripting: all([]) function not working

 

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

RaiMan proposed the following answer:
Sorry, have to correct my first comment:

the builtin method all() is overwritten by SikuliX and defines the
Region containing all screens in a multi-monitor environment.

Sorry for the inconvenience, did not notice this.

This will only be fixed in 1.1.4 the next days.

********************** workaround:
import __builtin__ as JY
a = 1
b = 1
if JY.all([a == 1, b == 1]):
    print ("yes")
else:
    print("no")
------------------------------------------

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.