New question #658654 on Sikuli:
https://answers.launchpad.net/sikuli/+question/658654
In sub function of Python, setThrowException(False) dosent' work.
In sub function:
from sikuli import *
def func_search():
setThrowException(False)
find(image)
setThrowException(True)
In main function, call sub function:
func_search()
After run, SikuliX still report findFailed error if image dosen't exist;
If I change code in main function, it works fine:
setThrowException(False)
find(image)
setThrowException(True)
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp