mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Add back a reference to the loop
This commit is contained in:
parent
13e8c41991
commit
c7d362990f
@ -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 New Issue
Block a user