mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Add back a reference to the loop
This commit is contained in:
parent
13e8c41991
commit
c7d362990f
1 changed files with 2 additions and 0 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue