forked from 42CTF/website
Hotfix for indentation error
This commit is contained in:
parent
ec61f06be0
commit
42858e4342
|
@ -164,8 +164,8 @@ def submit_event_flag(request, event_slug, chall_slug):
|
||||||
|
|
||||||
if player:
|
if player:
|
||||||
if ev.team_size > 1 and player.team is None:
|
if ev.team_size > 1 and player.team is None:
|
||||||
response['Location'] += '?NoTeam=1'
|
response['Location'] += '?NoTeam=1'
|
||||||
return response
|
return response
|
||||||
if ev.team_size == 1:
|
if ev.team_size == 1:
|
||||||
if CTF_flags.objects.filter(user=request.user, ctf=ctf_info):
|
if CTF_flags.objects.filter(user=request.user, ctf=ctf_info):
|
||||||
flagged = True
|
flagged = True
|
||||||
|
|
Loading…
Reference in New Issue