From 823a1ab300425a5b4becedb23bfa26d7bfc65132 Mon Sep 17 00:00:00 2001 From: Ben Muschol Date: Thu, 17 Oct 2024 13:44:19 -0500 Subject: [PATCH] Update public.py --- deployer/views/public.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployer/views/public.py b/deployer/views/public.py index 705343f..2ab71bf 100644 --- a/deployer/views/public.py +++ b/deployer/views/public.py @@ -51,7 +51,7 @@ def confirm_tournament(app_id): form = ConfirmTournamentForm() if request.method == "POST" and form.validate_on_submit(): - cost = fixed_cost + base_cost + test_cost if form.add_test.data else base_cost + cost = fixed_cost + base_cost + test_cost if form.add_test.data else base_cost + fixed_cost if stripe.charge(app.email, form.stripe_token.data, cost): app.set_status('Initializing') app.active = True