Fix var name
This commit is contained in:
parent
df638b84d7
commit
8dfc6ba9ac
1 changed files with 2 additions and 2 deletions
|
@ -1296,8 +1296,8 @@ class NewAccountConnectedEvent(nec.NetworkIncomingEvent):
|
||||||
self.ssl_msg = ''
|
self.ssl_msg = ''
|
||||||
if self.errnum > 0:
|
if self.errnum > 0:
|
||||||
from common.connection import ssl_error
|
from common.connection import ssl_error
|
||||||
self.ssl_msg = ssl_error.get(errnum, _('Unknown SSL error: %d') % \
|
self.ssl_msg = ssl_error.get(self.errnum, _(
|
||||||
errnum)
|
'Unknown SSL error: %d') % self.errnum)
|
||||||
self.ssl_cert = ''
|
self.ssl_cert = ''
|
||||||
if hasattr(self.conn.connection.Connection, 'ssl_cert_pem'):
|
if hasattr(self.conn.connection.Connection, 'ssl_cert_pem'):
|
||||||
self.ssl_cert = self.conn.connection.Connection.ssl_cert_pem
|
self.ssl_cert = self.conn.connection.Connection.ssl_cert_pem
|
||||||
|
|
Loading…
Add table
Reference in a new issue