← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #193835]: exit() always returns '1' on Sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
There was a problem with exit(), so that at the end it produced an exception.
Since you catch every exception (except:), your script always ends with exit(1).

BTW: the "except Exception:" does not make sense, since you already
catch all exceptions with "except:"

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