diff --git a/apps/participation/management/commands/fix_sympa_lists.py b/apps/participation/management/commands/fix_sympa_lists.py index 404309a..cf59963 100644 --- a/apps/participation/management/commands/fix_sympa_lists.py +++ b/apps/participation/management/commands/fix_sympa_lists.py @@ -56,7 +56,7 @@ class Command(BaseCommand): for team in Team.objects.filter(Q(participation__valid=False) | Q(participation__valid__isnull=True)).all(): team.create_mailing_list() - sympa.subscribe(team.email, "equipes-non-valides", f"Equipe {team.name}", True) + sympa.subscribe(team.email, "equipes-non-valides", True, f"Equipe {team.name}") for participant in ParticipantRegistration.objects.filter(team__isnull=False).all(): sympa.subscribe(participant.user.email, f"equipe-{participant.team.trigram.lower}", True, f"{participant}")