Add back a reference to the loop

This commit is contained in:
Dan 2022-12-24 17:53:24 +01:00
parent 13e8c41991
commit c7d362990f

View File

@ -45,6 +45,8 @@ class TCP:
self.reader = None # type: asyncio.StreamReader
self.writer = None # type: asyncio.StreamWriter
self.loop = asyncio.get_event_loop()
if proxy:
hostname = proxy.get("hostname")