From e04806b1eb51fc8de24395d55c14826811515fd0 Mon Sep 17 00:00:00 2001 From: Jonathan Bobel Date: Mon, 28 Apr 2025 11:59:48 -0400 Subject: [PATCH] Update tour.py Formatting --- app/main/views/tour.py | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/app/main/views/tour.py b/app/main/views/tour.py index d6a26ea60..57ab12125 100644 --- a/app/main/views/tour.py +++ b/app/main/views/tour.py @@ -141,19 +141,27 @@ def _get_tour_step_back_link(service_id, template_id, step_index): if step_index == 1: return { "href": { - "url": url_for('main.begin_tour', service_id=service_id, template_id=template_id), + "url": url_for('main.begin_tour', + service_id=service_id, + template_id=template_id + ), "text": "Back to tour start" }, "html": "Back to tour start" } else: return { - "href": { - "url": url_for('main.tour_step', service_id=service_id, template_id=template_id, step_index=step_index-1), - "text": "Back to previous step" - }, - "html": "Back to previous step" - } + "href": { + "url": url_for( + "main.tour_step", + service_id=service_id, + template_id=template_id, + step_index=step_index - 1, + ), + "text": "Back to previous step", + }, + "html": "Back to previous step", + } @main.route(