mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Remove sync hack
This commit is contained in:
@@ -137,9 +137,6 @@ class _DirectDownloadIter(RequestIter):
|
||||
async def __aexit__(self, *args):
|
||||
await self.close()
|
||||
|
||||
__enter__ = helpers._sync_enter
|
||||
__exit__ = helpers._sync_exit
|
||||
|
||||
|
||||
class _GenericDownloadIter(_DirectDownloadIter):
|
||||
async def _load_next_chunk(self):
|
||||
|
Reference in New Issue
Block a user