mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Add missing return self on action/download ctx managers
This commit is contained in:
@@ -92,7 +92,7 @@ class _DirectDownloadIter(RequestIter):
|
||||
self._sender = None
|
||||
|
||||
async def __aenter__(self):
|
||||
pass
|
||||
return self
|
||||
|
||||
async def __aexit__(self, *args):
|
||||
await self.close()
|
||||
|
Reference in New Issue
Block a user