Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
fix: removed FINISHED from is_accessible conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
MMcLovin authored and MMcLovin committed Nov 24, 2023
1 parent a130ad5 commit 7460711
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/tasks/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,)

0 comments on commit 7460711

Please sign in to comment.