← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #261417]: onAppear(): TypeError 'NoneType' object is not callable when use observe() --- second parameter must be the name of a handler function

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
see https://answers.launchpad.net/sikuli/+question/261418

the 
MyPrint("In General")

is executed at the time, the interpreter sees the line with onAppear()
and turns this 2nd parameter into None (the return of MyPrint()).

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