From 456d570c9b691e2ac681d22e18b557fac89f3710 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 13 Nov 2023 23:16:23 +0100 Subject: [PATCH] oups --- app/scodoc/sco_edt_cal.py | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/app/scodoc/sco_edt_cal.py b/app/scodoc/sco_edt_cal.py index 9fccc0658..81c525097 100644 --- a/app/scodoc/sco_edt_cal.py +++ b/app/scodoc/sco_edt_cal.py @@ -256,39 +256,7 @@ def _load_and_convert_ics(formsemestre: FormSemestre) -> list[dict]: "end": event.decoded("dtend").isoformat(), } ) -<<<<<<< HEAD - # --- Lien saisie abs - link_abs = ( - f"""""" - if modimpl and group - else "" - ) - d = { - # Champs utilisés par tui.calendar - "calendarId": "cal1", - "title": extract_event_title(event) + group_disp + mod_disp + link_abs, - "start": event.decoded("dtstart").isoformat(), - "end": event.decoded("dtend").isoformat(), - "backgroundColor": background_color, - # Infos brutes pour usage API éventuel - "group_id": group.id if group else None, - "group_edt_id": edt_group, - "moduleimpl_id": modimpl.id if modimpl else None, - } - events_dict.append(d) - - return events_dict -======= return events_sco ->>>>>>> edt def extract_event_data(