Skip to content

Commit

Permalink
fix for problems without contests
Browse files Browse the repository at this point in the history
  • Loading branch information
Atanazyy committed Nov 25, 2024
1 parent 4ab8636 commit 293294e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions oioioi/contests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ def get_submission_message(request):
def is_contest_archived(request):
return (
hasattr(request, 'contest')
and hasattr(request.contest, 'is_archived')
and request.contest.is_archived
)

Expand Down

0 comments on commit 293294e

Please sign in to comment.