diff --git a/bot.py b/bot.py index 254f022..ef89fd6 100644 --- a/bot.py +++ b/bot.py @@ -9,7 +9,7 @@ from telegram import CommandProcessor load_dotenv() token = os.getenv('RSSBOT_TG_TOKEN') -db_dsn = os.getenv('RSSBOT_DSN',) +dsn = os.getenv('RSSBOT_DSN',) log_level = os.getenv('LOG_LEVEL', 'INFO') print('Starting the bot with logging level', log_level.upper()) diff --git a/update.py b/update.py index d679170..2a97740 100644 --- a/update.py +++ b/update.py @@ -11,7 +11,7 @@ from telegram import Notifier load_dotenv() token = os.getenv('RSSBOT_TG_TOKEN') -db_dsn = os.getenv('RSSBOT_DSN') +dsn = os.getenv('RSSBOT_DSN') log_level = os.getenv('LOG_LEVEL', 'INFO') print('Starting the updater with logging level', log_level.upper())