← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #184468]: Class variable in unittest script query

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
You have to write:

self.f.close()

never omit the brackets when calling a function, even if there are no
parameters. The function will not be executed in this case, but it is
not an error, because simply the function object is returned.

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