Sorry Tim, you're not the right error
This commit is contained in:
parent
7f6a4e7b3c
commit
f32bae4f2d
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue