Skip to content

Commit cf3b15b

Browse files
authored
Fix duplicated argument in function call. (#1692)
1 parent e0e4f8b commit cf3b15b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cms/server/contest/handlers/tasksubmission.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,10 @@ def add_task_score(self, participation: Participation, task: Task, data: dict):
231231
score_type = task.active_dataset.score_type_object
232232
data["task_public_score_message"] = score_type.format_score(
233233
data["task_public_score"], score_type.max_public_score, None,
234-
task.score_precision, translation=self.translation)
234+
translation=self.translation)
235235
data["task_tokened_score_message"] = score_type.format_score(
236236
data["task_tokened_score"], score_type.max_score, None,
237-
task.score_precision, translation=self.translation)
237+
translation=self.translation)
238238

239239
@api_login_required
240240
@actual_phase_required(0, 1, 2, 3, 4)

0 commit comments

Comments
 (0)