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:
Lonami Exo 2021-02-14 00:25:54 +01:00
parent ff3c21c805
commit 0e8bd8248c

View File

@ -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__