mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
Fix patched module was never automatically imported
Closes #1701. It has to be imported late in the process of `import telethon` for its side-effects.
This commit is contained in:
parent
ff3c21c805
commit
0e8bd8248c
|
@ -2,6 +2,7 @@ from .client.telegramclient import TelegramClient
|
|||
from .network import connection
|
||||
from .tl import types, functions, custom
|
||||
from .tl.custom import Button
|
||||
from .tl import patched as _ # import for its side-effects
|
||||
from . import version, events, utils, errors
|
||||
|
||||
__version__ = version.__version__
|
||||
|
|
Loading…
Reference in New Issue
Block a user