Absolute imports

This commit is contained in:
Davte 2018-10-23 19:51:36 +02:00
parent 62229c1453
commit e0435ada5b
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
__author__ = "Davide Testa" __author__ = "Davide Testa"
__credits__ = "Marco Origlia" __credits__ = "Marco Origlia"
__license__ = "GNU General Public License v3.0" __license__ = "GNU General Public License v3.0"
__version__ = "1.0" __version__ = "1.1.0"
__maintainer__ = "Davide Testa" __maintainer__ = "Davide Testa"
__contact__ = "t.me/davte" __contact__ = "t.me/davte"
from custombot import Bot from datelepot.custombot import Bot

View File

@ -20,8 +20,8 @@ import dataset
import telepot import telepot
# Project modules # Project modules
from utilities import Gettable, MyOD from datelepot.utilities import Gettable, MyOD
from utilities import escape_html_chars, get_cleaned_text, make_lines_of_buttons, markdown_check, remove_html_tags, sleep_until from datelepot.utilities import escape_html_chars, get_cleaned_text, make_lines_of_buttons, markdown_check, remove_html_tags, sleep_until
def split_text_gracefully(text, limit, parse_mode): def split_text_gracefully(text, limit, parse_mode):
"""Split text if it hits telegram limits for text messages. """Split text if it hits telegram limits for text messages.