Skip to content

Commit

Permalink
Write content of configuration file to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Endogen committed Jan 21, 2018
1 parent 33f071b commit 547b62d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions telegram_kraken_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2131,6 +2131,9 @@ def settings_confirm_state():
dispatcher.add_handler(settings_handler)


# Write content of configuration file to log
log(logging.DEBUG, "Configuration: " + str(config))

# If webhook is enabled, don't use polling
# https://github.com/python-telegram-bot/python-telegram-bot/wiki/Webhooks
if config["webhook_enabled"]:
Expand Down

0 comments on commit 547b62d

Please sign in to comment.