From 43493733c93eed960354f036f0c981baf54de360 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 8 Jun 2019 15:28:03 +0200 Subject: [PATCH] Rearrange code --- pyrogram/client/ext/__init__.py | 3 +-- pyrogram/client/ext/dispatcher.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pyrogram/client/ext/__init__.py b/pyrogram/client/ext/__init__.py index 58897c55..dde1952e 100644 --- a/pyrogram/client/ext/__init__.py +++ b/pyrogram/client/ext/__init__.py @@ -19,6 +19,5 @@ from .base_client import BaseClient from .dispatcher import Dispatcher from .emoji import Emoji -from .syncer import Syncer from .file_data import FileData - +from .syncer import Syncer diff --git a/pyrogram/client/ext/dispatcher.py b/pyrogram/client/ext/dispatcher.py index 12d5a5de..b6760345 100644 --- a/pyrogram/client/ext/dispatcher.py +++ b/pyrogram/client/ext/dispatcher.py @@ -21,10 +21,10 @@ import threading from collections import OrderedDict from queue import Queue from threading import Thread -from . import utils import pyrogram from pyrogram.api import types +from . import utils from ..handlers import ( CallbackQueryHandler, MessageHandler, DeletedMessagesHandler, UserStatusHandler, RawUpdateHandler, InlineQueryHandler, PollHandler