From 87fc412d1ba8aa2aa1846e6320141c4e34295ae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20I=2E=20B=C3=B6ttcher?= Date: Mon, 30 Mar 2026 09:54:52 +0200 Subject: [PATCH] nmdbstream: fix str-bytes error --- nm64/nmdbstream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nm64/nmdbstream.py b/nm64/nmdbstream.py index 9780dd3..f8e2729 100755 --- a/nm64/nmdbstream.py +++ b/nm64/nmdbstream.py @@ -89,7 +89,7 @@ while True: except ValueError: if len(sockets)>=10: logger("too many connections %s\n" % repr(sockets)) - s[0].send("too many connections, good bye\n") + s[0].send(b"too many connections, good bye\n") s[0].close() else: sockets.append(s)