From 740c96f0eab37c5bff077380f8301729183942a4 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 6 Dec 2017 20:26:40 +0100 Subject: [PATCH] Optimize imports --- pyrogram/api/errors/error.py | 1 - pyrogram/client/client.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) 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__)