mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-06 05:00:23 +03:00
Undefined name: Typo TelegramBareClient --> TelegramBaseClient
Fixes #1051 [flake8](http://flake8.pycqa.org) testing of https://github.com/LonamiWebs/Telethon on Python 3.7.1 $ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__ ``` ./telethon/client/telegrambaseclient.py:497:18: F821 undefined name 'TelegramBareClient' client = TelegramBareClient( ^ 1 F821 undefined name 'TelegramBareClient' 1 ```
This commit is contained in:
parent
16dd47f5ec
commit
399ffff7cb
|
@ -494,7 +494,7 @@ class TelegramBaseClient(abc.ABC):
|
|||
self._exported_sessions[cdn_redirect.dc_id] = session
|
||||
|
||||
__log__.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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user