diff --git a/apps/participation/models.py b/apps/participation/models.py index c1926ae..570275d 100644 --- a/apps/participation/models.py +++ b/apps/participation/models.py @@ -561,7 +561,7 @@ class Solution(models.Model): def __str__(self): return _("Solution of team {team} for problem {problem}")\ .format(team=self.participation.team.name, problem=self.problem)\ - + (" " + _("for final") if self.final_solution else "") + + (" " + str(_("for final")) if self.final_solution else "") class Meta: verbose_name = _("solution")