diff --git a/participation/management/commands/export_results.py b/participation/management/commands/export_results.py index 8cdc114..a86340a 100644 --- a/participation/management/commands/export_results.py +++ b/participation/management/commands/export_results.py @@ -62,8 +62,9 @@ class Command(BaseCommand): self.w("") for i, (participation, note) in enumerate(notes): self.w("") - if i < (2 if len(notes) >= 7 else 1): - self.w(f"\t{participation.team.name} ({participation.team.trigram})") + bold = (not tournament.final and participation.final) or (tournament.final and i < 2) + if bold: + self.w(f"\t{participation.team.name} ({participation.team.trigram})") else: self.w(f"\t{participation.team.name} ({participation.team.trigram})") for pool in tournament.pools.filter(participations=participation).all():