From 2b6655bc023517bbd5a6371a21aa9543870c3975 Mon Sep 17 00:00:00 2001 From: swee Date: Mon, 13 Jan 2025 15:18:24 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 5bd8c2e..12ca832 100644 --- a/server.py +++ b/server.py @@ -44,7 +44,7 @@ def relay(): received = "" while True: gemresponse = gemsocket.recv(2048) - if gemresponse != "": + if gemresponse.decode() != "": received += gemresponse.decode() else: break