viewers: Fix VNC auth-rejected error message

This commit is contained in:
Cole Robinson 2016-05-16 15:31:05 -04:00
parent 671d9c0218
commit 6d69b1b98e

View File

@ -345,9 +345,8 @@ class VNCViewer(Viewer):
errmsg = (_("Unable to provide requested credentials to the VNC "
"server.\n The credential type %s is not supported") %
str(cred))
str(cred.value_name))
# XXX test this
self.emit("auth-rejected", errmsg)
return