From 4e64da696aeeaf36acd09a3774f696d920205367 Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Mon, 14 Oct 2019 10:54:02 +0100 Subject: [PATCH] updating slackbot --- slack-bot/traffic-scraper/prd/slackBot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/slack-bot/traffic-scraper/prd/slackBot.py b/slack-bot/traffic-scraper/prd/slackBot.py index 8e75786..d632adc 100644 --- a/slack-bot/traffic-scraper/prd/slackBot.py +++ b/slack-bot/traffic-scraper/prd/slackBot.py @@ -59,6 +59,7 @@ for i, message in zip(range(0, length), data): accidentMessage = message elif 'accident incidents on the M62 😱' in message: + congestionMessageEnd = i accidentTitle = message accidentMessageStart = i + 1 accidentMessageEnd = length - 1