diff --git a/pyrogram/api/errors/error.py b/pyrogram/api/errors/error.py index bc29ea12..d3ea1e6e 100644 --- a/pyrogram/api/errors/error.py +++ b/pyrogram/api/errors/error.py @@ -20,7 +20,6 @@ import re from importlib import import_module from pyrogram.api.types import RpcError - from .exceptions.all import exceptions diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index db166c7b..3c95c8e3 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -24,8 +24,6 @@ from collections import namedtuple from configparser import ConfigParser from hashlib import sha256 -from pyrogram.extensions import Markdown - from pyrogram.api import functions, types from pyrogram.api.core import Object from pyrogram.api.errors import ( @@ -40,6 +38,7 @@ from pyrogram.api.types import ( Dialog, Message, InputPeerEmpty, InputPeerSelf, InputPeerUser, InputPeerChat, InputPeerChannel) +from pyrogram.extensions import Markdown from pyrogram.session import Auth, Session log = logging.getLogger(__name__)