From 7874dbfbfe09dec3fc49e4e0331de31755878d68 Mon Sep 17 00:00:00 2001 From: Stan James Date: Thu, 28 Jun 2018 11:23:34 -0600 Subject: [PATCH] syntax fix --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 5506b06..99014e5 100644 --- a/bot.py +++ b/bot.py @@ -24,7 +24,7 @@ class TelegramMonitorBot: def __init__(self): self.debug = ( - (os.environ.get('DEBUG') is not None) && + (os.environ.get('DEBUG') is not None) and (os.environ.get('DEBUG').upper() != "false")) # Channel to notify of violoations, e.g. '@channelname'