Revert non-related change

This commit is contained in:
Сергей Прохоров 2019-03-12 01:28:59 +01:00
parent 4696dfc25e
commit fef580c24b
No known key found for this signature in database
GPG Key ID: 1C570244E4EF3337

View File

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