From 74607111e8b102b73c98fa231b4e8777b4fdb705 Mon Sep 17 00:00:00 2001 From: MMcLovin Date: Fri, 24 Nov 2023 13:37:58 -0300 Subject: [PATCH] fix: removed FINISHED from is_accessible conditions --- apps/tasks/models.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/tasks/models.py b/apps/tasks/models.py index 3443d00..f5e608c 100644 --- a/apps/tasks/models.py +++ b/apps/tasks/models.py @@ -25,7 +25,4 @@ def __str__(self) -> str: @property def is_accessible(self) -> bool: - return self.contest.status in ( - ContestStatus.RUNNING, - ContestStatus.FINISHED, - ) + return self.contest.status in (ContestStatus.RUNNING,)