From 17f9ee7cae093b36afcf05d0ddc7e9fa6b93df1c Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Tue, 16 Jul 2024 21:22:35 +0000 Subject: [PATCH] Hacky python 3.10 fix --- server.py | 3 +++ 1 file changed, 3 insertions(+) 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 = {}