From 293a8319580805ccf3e5fa98cd75daa61612ad41 Mon Sep 17 00:00:00 2001 From: Davte Date: Sat, 20 Jun 2020 15:43:22 +0200 Subject: [PATCH] Typos --- davtelepot/__init__.py | 2 +- davtelepot/administration_tools.py | 2 +- davtelepot/messages.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/davtelepot/__init__.py b/davtelepot/__init__.py index 444f5bb..0807d98 100644 --- a/davtelepot/__init__.py +++ b/davtelepot/__init__.py @@ -11,7 +11,7 @@ __author__ = "Davide Testa" __email__ = "davide@davte.it" __credits__ = ["Marco Origlia", "Nick Lee @Nickoala"] __license__ = "GNU General Public License v3.0" -__version__ = "2.6.3" +__version__ = "2.6.4" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/davtelepot/administration_tools.py b/davtelepot/administration_tools.py index 731ddc1..76fcfe0 100644 --- a/davtelepot/administration_tools.py +++ b/davtelepot/administration_tools.py @@ -1840,7 +1840,7 @@ def init(telegram_bot: Bot, ) if 'talking_sessions' not in db.tables: table = db.create_table( - table_name='users' + table_name='talking_sessions' ) table.create_column( 'user', diff --git a/davtelepot/messages.py b/davtelepot/messages.py index 2af5d5f..b38ecde 100644 --- a/davtelepot/messages.py +++ b/davtelepot/messages.py @@ -75,12 +75,12 @@ default_admin_messages = { }, 'no_log': { 'en': "Sorry but no errors log file is set.\n" - "To set it, use `bot.set_errors_file_name` instance method" + "To set it, use `bot.set_errors_file_name` instance method " "or `Bot.set_class_errors_file_name` class method.", 'it': "Spiacente ma il file di log degli errori non รจ stato " "impostato.\n" "Per impostarlo, usa il metodo d'istanza " - "`bot.set_errors_file_name` o il metodo di classe" + "`bot.set_errors_file_name` o il metodo di classe " "`Bot.set_class_errors_file_name`." }, 'empty_log': {