From 4e02928c045a45550f5f66195baa87f346810d66 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 27 Jun 2022 19:49:29 +0200 Subject: [PATCH] Fix: bug suppression d'un groupe --- app/scodoc/sco_groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_groups.py b/app/scodoc/sco_groups.py index 5ea56ad50..f17e017e6 100644 --- a/app/scodoc/sco_groups.py +++ b/app/scodoc/sco_groups.py @@ -868,7 +868,7 @@ def delete_group(group_id, partition_id=None): raise ValueError("inconsistent partition/group") if not sco_permissions_check.can_change_groups(group.partition.formsemestre_id): raise AccessDenied("Vous n'avez pas le droit d'effectuer cette opération !") - log(f"delete_group: group={group:r} partition={group.partition}") + log(f"delete_group: group={group} partition={group.partition}") formsemestre = group.partition.formsemestre group_delete(group.id) formsemestre.update_inscriptions_parcours_from_groups()