From 2abf64461d3614d441d51a5eb73d958d8ab244ec Mon Sep 17 00:00:00 2001 From: Stan James Date: Thu, 22 Feb 2018 16:48:59 -0800 Subject: [PATCH] fix --- bot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 04d4fd2..e8b1dea 100644 --- a/bot.py +++ b/bot.py @@ -26,13 +26,13 @@ class TelegramMonitorBot: self.debug = os.environ.get('DEBUG') is not None # Users to notify of violoations - self.notify_user_ids = list( - map(int, os.environ['NOTIFY_USER_IDS'].split(',')) + self.notify_user_ids = ( + list(map(int, os.environ['NOTIFY_USER_IDS'].split(','))) if "NOTIFY_USER_IDS" in os.environ else []) # List of chat ids that bot should monitor - self.chat_ids = list( - map(int, os.environ['CHAT_IDS'].split(',')) + self.chat_ids = ( + list(map(int, os.environ['CHAT_IDS'].split(','))) if "CHAT_IDS" in os.environ else []) # Regex for message patterns that cause user ban