fix first type found by tests :)

This commit is contained in:
NotAFile 2019-12-08 00:30:25 +01:00
parent 8b535473ce
commit 9121478a2e

View File

@ -662,7 +662,7 @@ class TelegramBaseClient(abc.ABC):
self._exported_sessions[cdn_redirect.dc_id] = session
self._log[__name__].info('Creating new CDN client')
client = TelegramBareClient(
client = TelegramBaseClient(
session, self.api_id, self.api_hash,
proxy=self._sender.connection.conn.proxy,
timeout=self._sender.connection.get_timeout()