Maybe fix parallel file transfer

This commit is contained in:
Tulir Asokan
2020-08-04 16:56:59 +03:00
parent 868ebf2025
commit 92c572d761
2 changed files with 3 additions and 3 deletions
@@ -186,9 +186,9 @@ class ParallelTransferrer:
async def _create_sender(self) -> MTProtoSender:
dc = await self.client._get_dc(self.dc_id)
sender = MTProtoSender(self.auth_key, self.loop, loggers=self.client._log)
sender = MTProtoSender(self.auth_key, loggers=self.client._log)
await sender.connect(self.client._connection(dc.ip_address, dc.port, dc.id,
loop=self.loop, loggers=self.client._log,
loggers=self.client._log,
proxy=self.client._proxy))
if not self.auth_key:
log.debug(f"Exporting auth to DC {self.dc_id}")
+1 -1
View File
@@ -5,5 +5,5 @@ python-magic>=0.4,<0.5
commonmark>=0.8,<0.10
aiohttp>=3,<4
mautrix>=0.6,<0.7
telethon>=1.13,<1.17
telethon>=1.16,<1.17
telethon-session-sqlalchemy>=0.2.14,<0.3