Fix 'Client' object has no attribute 'loop'

Signed-off-by: wulan17 <wulan17@komodos.id>
This commit is contained in:
KurimuzonAkuma 2025-03-07 17:49:14 +03:00 committed by wulan17
parent 3d71eba4e1
commit 3aed1857d4
No known key found for this signature in database
GPG key ID: 737814D4B5FF0420

View file

@ -380,7 +380,7 @@ class Client(Methods):
if isinstance(loop, asyncio.AbstractEventLoop):
self.loop = loop
else:
loop = asyncio.get_event_loop()
self.loop = asyncio.get_event_loop()
def __enter__(self):
return self.start()