From c7fbbce746f84e468aea76d858b9fdcb1158b949 Mon Sep 17 00:00:00 2001 From: Ambulance Clerc Date: Mon, 12 Feb 2024 07:29:46 +0100 Subject: [PATCH] =?UTF-8?q?Changement=20de=20comportement=20sur=20la=20g?= =?UTF-8?q?=C3=A9n=C3=A9ration=20des=20nom=20de=20team.=20Avant=20on=20se?= =?UTF-8?q?=20r=C3=A9f=C3=A9rer=20au=20MC=20mais=20suite=20=C3=A0=20une=20?= =?UTF-8?q?erreur=20de=20saisie,=20j'ai=20chang=C3=A9=20en=20<=3D=204?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mycaldav/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mycaldav/models.py b/mycaldav/models.py index 9a157e8..28c2c11 100644 --- a/mycaldav/models.py +++ b/mycaldav/models.py @@ -270,7 +270,7 @@ class cls_caldav_client(): print(f"Error: mc{team_1}@clerc.ch @{summary}") return None else: - print(f"T1 Already with MC { len(equipage[0])}") + print(f"T1 Already with MC { len(equipage[0])}[{equipage[0]}]") if len(equipage) < 2: print(f"Error équipage sans [&] {key[1]}") elif len(equipage[1]) <= 4: # check équipage 2 @@ -283,7 +283,7 @@ class cls_caldav_client(): print(f"Error: mc{team_2}@clerc.ch @{summary}") return None else: - print(f"T2 Already with MC {len(equipage[1])}") + print(f"T2 Already with MC {len(equipage[1])}[{equipage[1]}]") if updated: event.vobject_instance.vevent.summary.value = f"{key[0]} {Key_separator} {equipage[0].strip()} & {equipage[1].strip()}"