From 4b0424807ec9b2bda39bb04563486855907ed1bf Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Sat, 13 Mar 2021 22:02:47 +0200 Subject: [PATCH] Fixed formatting pattern for addr in listener --- minode/listener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minode/listener.py b/minode/listener.py index a413933..396e681 100644 --- a/minode/listener.py +++ b/minode/listener.py @@ -26,7 +26,7 @@ class Listener(threading.Thread): break try: conn, addr = self.s.accept() - logging.info('Incoming connection from: %s:%s', *addr) + logging.info('Incoming connection from: %s:%i', *addr) with shared.connections_lock: if len(shared.connections) > shared.connection_limit: conn.close()