From 295616545e68d1e000acb57c5923309b8fc1385e Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Sun, 9 Oct 2022 00:31:32 +0200 Subject: [PATCH] WIP: don notification --- controle_don/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controle_don/main.py b/controle_don/main.py index 2272e20..acda641 100755 --- a/controle_don/main.py +++ b/controle_don/main.py @@ -99,7 +99,7 @@ def notify_unpaid(record): mailtext = mailtext.replace("NOM_DONNEUR", name) mailtext = mailtext.replace("NUMERO_DON", str(record)) mailtext = mailtext.replace("MONTANT_DON", amount) - mailtext = mailtext.replace("MODE_DON", year) + mailtext = mailtext.replace("MODE_DON", mode) mailheaders = get_file_content_all(MODALITY_MAIL_HEADERS) + "\n" mailheaders = mailheaders.replace("COURRIEL_DONNEUR", email)