0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-17 03:13:53 +01:00

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

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)