From aa649efb68472d4d1b9ea912ae5a1d53a714f284 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 12 Jan 2025 20:21:41 -0800 Subject: [PATCH] Update sweebot.py --- sweebot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sweebot.py b/sweebot.py index 7cc8e80..808ece5 100644 --- a/sweebot.py +++ b/sweebot.py @@ -855,10 +855,10 @@ while True: gsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) gemsocket = ssl.wrap_socket(gsocket) gemsocket.connect((parse.hostname, 1965)) - wrappedSocket.send(i + "\r\n") + gemsocket.send(i + "\r\n") received = "" while True: - gemresponse = wrappedSocket.recv(2048) + gemresponse = gemsocket.recv(2048) if gemresponse: received += gemresponse.decode() else: