Skip to content

Commit

Permalink
[frontend/constest] Fixing no soft_end given in contest .get_accessib…
Browse files Browse the repository at this point in the history
…ility()
  • Loading branch information
AlexandreDoneux committed Feb 27, 2024
1 parent e89155c commit 72bb543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inginious/frontend/plugins/contests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def check_dispenser_data(self, dispenser_data):
def get_accessibilities(self, taskids, usernames): # pylint: disable=unused-argument
contest_data = self.get_contest_data()
if contest_data['enabled']:
accessibility = {"start": contest_data['start'], "end": contest_data['end']}
accessibility = {"start": contest_data['start'], "soft_end": contest_data['end'], "end": contest_data['end']}
return {username: {taskid: AccessibleTime(accessibility) for taskid in taskids} for username in usernames}
else:
return TableOfContents.get_accessibilities(self, taskids, usernames)
Expand Down

0 comments on commit 72bb543

Please sign in to comment.