diff --git a/pyrogram/client/dispatcher/dispatcher.py b/pyrogram/client/dispatcher/dispatcher.py index fb4e46a8..e1ffe293 100644 --- a/pyrogram/client/dispatcher/dispatcher.py +++ b/pyrogram/client/dispatcher/dispatcher.py @@ -24,7 +24,7 @@ from threading import Thread import pyrogram from pyrogram.api import types -from . import message_parser +from .. import message_parser from ..handler import ( Handler, MessageHandler, RawUpdateHandler ) diff --git a/pyrogram/client/dispatcher/message_parser.py b/pyrogram/client/message_parser.py similarity index 99% rename from pyrogram/client/dispatcher/message_parser.py rename to pyrogram/client/message_parser.py index 42e0a327..f5ff8aa5 100644 --- a/pyrogram/client/dispatcher/message_parser.py +++ b/pyrogram/client/message_parser.py @@ -20,7 +20,7 @@ from struct import pack import pyrogram from pyrogram.api import types -from ..utils import encode +from .utils import encode # TODO: Organize the code better?