Skip to content

Commit

Permalink
Update public.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMusch authored Oct 17, 2024
1 parent 7d4e243 commit 823a1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployer/views/public.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 823a1ab

Please sign in to comment.