diff --git a/docker-compose.yml b/docker-compose.yml index 0874614..1bf6def 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,7 @@ services: - TMDB_API_TOKEN= - SA_API_TOKEN= - TG_BOT_TOKEN= - - TG_BOT_USER= # (optional) Limits access to the bot to a single Telegram user - - STREAMING_COUNTRY= # (optional) Default "us" + - TG_BOT_USER= # (optional) Limits access to the bot to a single Telegram user. + - STREAMING_COUNTRY= # (optional) Search country for streaming services. Default "us". + - TG_DEBUG= # (optional, True/False) Verbose debug logging. Default False. restart: always \ No newline at end of file diff --git a/telegram-moviebot/telegram-moviebot.py b/telegram-moviebot/telegram-moviebot.py index 5ae001a..965cb96 100644 --- a/telegram-moviebot/telegram-moviebot.py +++ b/telegram-moviebot/telegram-moviebot.py @@ -39,7 +39,7 @@ updater = Updater(token=bot_token, use_context=True) dispatcher = updater.dispatcher -if logging_debug: +if logging_debug and logging_debug == "True": logging.basicConfig( format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.DEBUG)