forked from Firepup650/python-talk
Hacky python 3.10 fix
This commit is contained in:
parent
4a1e94826b
commit
17f9ee7cae
1 changed files with 3 additions and 0 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in a new issue