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

    Status: Open => Answered

RaiMan proposed the following answer:
vnc = vncStart("192.168.3.15",5900)

you have to check wether vnc is not None before proceeding.

The internal error checking is not that gorgeous ;-) so if the
connection fails you will get back None.

So be sure a connection is possible.

vnc = vncStart("192.168.3.15") # sufficient - 5900 is the default
if not vnc:
    # do something that makes sense ;-)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to