From b02a30819f01412e08847aee9218e8677e90b940 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Sun, 3 Dec 2023 19:54:01 -0600 Subject: [PATCH] Fix frozen handle --- judge/contest_format/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/judge/contest_format/base.py b/judge/contest_format/base.py index bea3db4..3b47e59 100644 --- a/judge/contest_format/base.py +++ b/judge/contest_format/base.py @@ -109,6 +109,8 @@ class BaseContestFormat(metaclass=ABCMeta): ) for result in queryset: problem = str(result["problem_id"]) + if not (self.contest.freeze_after or hidden_subtasks.get(problem)): + continue if format_data.get(problem): is_after_freeze = ( self.contest.freeze_after