Update sweebot.py
Some checks are pending
Check syntax / check (push) Waiting to run

This commit is contained in:
Nova Cat 2025-01-12 20:21:41 -08:00
parent e03ad71e72
commit aa649efb68

View file

@ -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: