Use relative imports always where possible

This commit is contained in:
Lonami Exo
2017-05-21 13:02:54 +02:00
parent ca80b05694
commit 63c89af983
17 changed files with 104 additions and 81 deletions

View File

@@ -1,9 +1,10 @@
import shutil
from getpass import getpass
from telethon import RPCError, TelegramClient
from telethon.tl.types import UpdateShortChatMessage, UpdateShortMessage
from telethon.utils import get_display_name
from . import TelegramClient
from .errors import RPCError
from .tl.types import UpdateShortChatMessage, UpdateShortMessage
from .utils import get_display_name
# Get the (current) number of lines in the terminal
cols, rows = shutil.get_terminal_size()