[elghinn] Fix var name that prevent account registration

This commit is contained in:
Yann Leboulanger 2010-12-30 19:02:12 +01:00
parent 241f666bc6
commit a621d3631d
1 changed files with 1 additions and 1 deletions

View File

@ -3744,7 +3744,7 @@ class AccountCreationWizardWindow:
' be invalid.\nSSL Error: %(error)s\n'
'Do you still want to connect to this server?') % {
'hostname': hostname, 'error': obj.ssl_msg})
if obj.ssl_err in (18, 27):
if obj.errnum in (18, 27):
text = _('Add this certificate to the list of trusted '
'certificates.\nSHA1 fingerprint of the certificate:\n%s') \
% obj.ssl_fingerprint