Fix ioi16

This commit is contained in:
cuom1999 2022-12-28 23:16:17 -06:00
parent 45ada7995a
commit cdb7834de5
2 changed files with 2 additions and 2 deletions

View file

@ -930,7 +930,7 @@ class UserContestSubmissionsAjax(UserContestSubmissions):
filtered_submissions = []
# Only show this for some users when using ioi16
if self.contest.format_name != "ioi16" or self.include_frozen:
if self.contest.format_name != "ioi16" or self.request.user.is_superuser:
for s in context["submissions"]:
if not hasattr(s, "contest"):
continue