From 33e434f9d8dff58ca23172811887b54f5250e60a Mon Sep 17 00:00:00 2001
From: Kahil Benhaddouche <kahil.benhaddouche.etu@univ-lille.fr>
Date: Fri, 28 Feb 2025 09:42:21 +0100
Subject: [PATCH] Update file sco_formsemestre_inscriptions.py

---
 app/scodoc/sco_formsemestre_inscriptions.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/scodoc/sco_formsemestre_inscriptions.py b/app/scodoc/sco_formsemestre_inscriptions.py
index 814e887a..599d1a82 100644
--- a/app/scodoc/sco_formsemestre_inscriptions.py
+++ b/app/scodoc/sco_formsemestre_inscriptions.py
@@ -150,6 +150,7 @@ def do_formsemestre_demission(
             formsemestre_id=formsemestre.id if formsemestre else None
         )
         destination = prefs["emails_notifications"] or ""
+        str_mail_send = ""
         if (destination == ""):
             str_mail_send = "aucune adresse mail disponible pour notifier les opérations dans le paramétrage"
         else :
-- 
GitLab