diff --git a/server.py b/server.py index ba74b54..34c2c5a 100644 --- a/server.py +++ b/server.py @@ -7,6 +7,9 @@ from logs import log class Globals: ... +# The below line is a hacky fix for python 3.10 asyncio +TimoutError = TimeoutError +TimeoutError = (TimoutError, aysncio.exceptions.TimeoutError) G = Globals() G.uniqueClients = 0 G.servers = {}