fix var name. Fixes #7668

This commit is contained in:
Yann Leboulanger 2014-03-08 12:19:15 +01:00
parent b69a0c291d
commit ac5db73d53
1 changed files with 2 additions and 2 deletions

View File

@ -1636,8 +1636,8 @@ class NewAccountConnectedEvent(nec.NetworkIncomingEvent):
self.ssl_msg = ''
if self.errnum > 0:
from common.connection import ssl_error
self.ssl_msg = ssl_error.get(er, _('Unknown SSL error: %d') % \
self.errnum)
self.ssl_msg = ssl_error.get(self.errnum,
_('Unknown SSL error: %d') % self.errnum)
self.ssl_cert = ''
self.ssl_fingerprint_sha1 = ''
self.ssl_fingerprint_sha256 = ''