diff --git a/Monitor.py b/Monitor.py index 4eaf18b..7cf98e7 100644 --- a/Monitor.py +++ b/Monitor.py @@ -18,8 +18,8 @@ config = { "database": os.getenv("DB_NAME") } -# --- Destinataires email --- -destinataires = ['services@domo91.fr', 'michel-68000@hotmail.fr'] +# Charger les destinataires depuis .env +destinataires = os.getenv("DESTINATAIRES_MAIL", "").split(',') # --- Suivi des alertes actives pour rappels --- alertes_actives = {}