← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #188776]: Can't keep error handler from running

 

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

RaiMan proposed the following answer:
Uuups, I hate that you cannot edit your own comments in this forum:

It must be:

def handler(event):
    event.region.stopObserver()

onAppear(img, handler)
observe(FOREVER)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.