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

    Status: Open => Answered

RaiMan proposed the following answer:
my_file is only known in the local context of the handler.

So you should simply define/open it in the main script before the first
observe, then it is known (global) in the def.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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