From 454421e0987061ddfeeb4a5c866be655ea89cfa8 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 23 May 2017 08:17:18 -0700 Subject: [PATCH] bot_lib: Fix indentation. --- contrib_bots/bot_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib_bots/bot_lib.py b/contrib_bots/bot_lib.py index 264914ef81..ead1a53f2b 100644 --- a/contrib_bots/bot_lib.py +++ b/contrib_bots/bot_lib.py @@ -86,7 +86,7 @@ def run_message_handler_for_bot(lib_module, quiet, config_file): bot_mention = r'^@(\*\*{0}\*\*)'.format(client.full_name) start_with_mention = re.compile(bot_mention).match(message['content']) if start_with_mention is None: - return None + return None query_without_mention = message['content'][len(start_with_mention.group()):] return query_without_mention.lstrip()