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

Ryan posted a new comment:
RaiMan fixed this in 1.1.0 actually (as per my request). If you subclass
Region you need to include self.init(ptn) in the __init__.  The ptn
should be whatever the incoming variable to create the region is - the
image path, for instance. The point of the fix is to get around the fact
that there is no __init__ as mentioned above

This should probably get added to the docs at some point too.  I get
null regions if I don't add this as well.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to