From bafa4e345b8486db6baabf041ab6179c7c899564 Mon Sep 17 00:00:00 2001 From: Pea Tyczynska Date: Thu, 30 May 2019 15:45:17 +0100 Subject: [PATCH] Change assertion for consistency --- app/main/views/send.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/send.py b/app/main/views/send.py index ee7d733c8..54acf6db7 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -386,7 +386,7 @@ def send_test_step(service_id, template_id, step_index): ) try: - if "test" in request.endpoint: + if request.endpoint == 'main.send_test_step': current_placeholder = placeholders[step_index - 1] else: current_placeholder = placeholders[step_index]