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: