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)