Use dot for relative imports

This commit is contained in:
Davte 2019-07-19 12:21:11 +02:00
parent e22854c77d
commit a085fddf31
3 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ __author__ = "Davide Testa"
__email__ = "davide@davte.it"
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
__license__ = "GNU General Public License v3.0"
__version__ = "2.1.15"
__version__ = "2.1.16"
__maintainer__ = "Davide Testa"
__contact__ = "t.me/davte"

View File

@ -45,9 +45,9 @@ import re
from aiohttp import web
# Project modules
from davtelepot.api import TelegramBot, TelegramError
from davtelepot.database import ObjectWithDatabase
from davtelepot.utilities import (
from .api import TelegramBot, TelegramError
from .database import ObjectWithDatabase
from .utilities import (
escape_html_chars, extract, get_secure_key, make_inline_query_answer,
make_lines_of_buttons, remove_html_tags
)

View File

@ -35,7 +35,7 @@ import os
import davtelepot.bot
# Project modules
from davtelepot.utilities import (
from .utilities import (
get_secure_key, extract, sleep_until
)