Fix b'ab' noise in logs
This commit is contained in:
parent
582786fbf2
commit
e9779a6f8f
|
@ -379,7 +379,7 @@ class LoggingHostnameEndpoint(object):
|
||||||
self.ep = HostnameEndpoint(reactor, host, port, *args, **kwargs)
|
self.ep = HostnameEndpoint(reactor, host, port, *args, **kwargs)
|
||||||
|
|
||||||
def connect(self, protocol_factory):
|
def connect(self, protocol_factory):
|
||||||
logger.info("Connecting to %s:%i", self.host, self.port)
|
logger.info("Connecting to %s:%i", self.host.decode("ascii"), self.port)
|
||||||
return self.ep.connect(protocol_factory)
|
return self.ep.connect(protocol_factory)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue