From df739d6b948fbd8576035339336cf9dc257a5c20 Mon Sep 17 00:00:00 2001 From: sakisv Date: Thu, 9 Sep 2021 17:13:59 +0300 Subject: [PATCH] Fix flake8 --- app/celery/broadcast_message_tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/celery/broadcast_message_tasks.py b/app/celery/broadcast_message_tasks.py index ddffd8a2a..d18826441 100644 --- a/app/celery/broadcast_message_tasks.py +++ b/app/celery/broadcast_message_tasks.py @@ -58,8 +58,8 @@ def check_event_is_authorised_to_be_sent(broadcast_event, provider): def check_event_makes_sense_in_sequence(broadcast_event, provider): """ If any previous event hasn't sent yet for that provider, then we shouldn't send the current event. Instead, fail and - raise a zendesk ticket - so that a notify team member can assess the state of the previous messages, and if necessary, can - replay the `send_broadcast_provider_message` task if the previous message has now been sent. + raise a zendesk ticket - so that a notify team member can assess the state of the previous messages, and if + necessary, can replay the `send_broadcast_provider_message` task if the previous message has now been sent. Note: This is called before the new broadcast_provider_message is created.