Fix b'ab' noise in logs

This commit is contained in:
Richard van der Hoff 2019-02-01 12:34:31 +00:00
parent 582786fbf2
commit e9779a6f8f
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ class LoggingHostnameEndpoint(object):
self.ep = HostnameEndpoint(reactor, host, port, *args, **kwargs)
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)