From 42858e4342f522fc7b1f408d995532880178edbb Mon Sep 17 00:00:00 2001 From: Danhia Date: Sat, 2 Jul 2022 00:26:12 +0200 Subject: [PATCH] Hotfix for indentation error --- src/events/views/events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/events/views/events.py b/src/events/views/events.py index 72d3587..759998c 100644 --- a/src/events/views/events.py +++ b/src/events/views/events.py @@ -164,8 +164,8 @@ def submit_event_flag(request, event_slug, chall_slug): if player: if ev.team_size > 1 and player.team is None: - response['Location'] += '?NoTeam=1' - return response + response['Location'] += '?NoTeam=1' + return response if ev.team_size == 1: if CTF_flags.objects.filter(user=request.user, ctf=ctf_info): flagged = True