Hotfix for indentation error

This commit is contained in:
Danhia 2022-07-02 00:26:12 +02:00
parent ec61f06be0
commit 42858e4342
1 changed files with 2 additions and 2 deletions

View File

@ -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