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

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