Sorry Tim, you're not the right error

This commit is contained in:
Firepup Sixfifty 2024-07-15 20:46:47 +00:00
parent 7f6a4e7b3c
commit f32bae4f2d
Signed by: Firepup650
SSH key fingerprint: SHA256:U0Zp8EhEe3CMqFSrC79CqatzaEiL4sjta80/RSX2XrY

View file

@ -367,7 +367,7 @@ async def connectServer(hostname: str, port: int):
rID = raw((await reader.read(16)).decode("utf8"))
try:
await asyncio.wait_for(reader.read(1024), 0.1)
except TimoutError:
except TimeoutError:
pass
if G.servers.get(rID, False) != False:
writer.close()