rename db_dsn to dsn variable in bot.py and update.py
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

This commit is contained in:
mitsuha_s 2022-07-14 01:41:57 +00:00
parent 2206c6299d
commit ab77d44ba3
2 changed files with 2 additions and 2 deletions

2
bot.py
View file

@ -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())

View file

@ -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())