rename db_dsn to dsn variable in bot.py and update.py
This commit is contained in:
parent
2206c6299d
commit
ab77d44ba3
2
bot.py
2
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())
|
||||
|
|
Loading…
Reference in a new issue