fixed bug in vnc_login, returned success code was O instead of 0

pull/4/merge
lanjelot 12 years ago
parent 91bc4d9e78
commit f35de5309d

@ -2458,7 +2458,7 @@ class VNC:
return code, mesg or 'Authentication failure'
elif code == 0:
return mesg or 'OK'
return code, mesg or 'OK'
else:
raise VNC_Error, 'Unknown response: %s (code: %s)' % (repr(resp), code)

Loading…
Cancel
Save