Python 3.4 TLS fix

This commit is contained in:
TheKysek 2017-07-01 16:50:08 +02:00
parent 0b6bb7f932
commit 57fffaafc0
No known key found for this signature in database
GPG Key ID: 50D9AF00D0B1C497

View File

@ -171,7 +171,7 @@ class Connection(threading.Thread):
self.status = 'disconnecting' self.status = 'disconnecting'
break break
self.tls = True self.tls = True
logging.debug('Established {} connection with {}:{}'.format(self.s.version(), self.host_print, self.port)) logging.debug('Established TLS connection with {}:{}'.format(self.host_print, self.port))
def _send_message(self, m): def _send_message(self, m):
if type(m) == message.Message and m.command == b'object': if type(m) == message.Message and m.command == b'object':