diff --git a/controle_cotisation/main.py b/controle_cotisation/main.py index c67c474..620fc49 100755 --- a/controle_cotisation/main.py +++ b/controle_cotisation/main.py @@ -335,7 +335,7 @@ def validate(member): mailheaders = get_file_content_all(RECEPT_MAIL_HEADERS).replace("COURRIEL-COTISANT", answer["email"]) + "\n" mailtext = get_file_content_all(RECEPT_MAIL).replace("ANNEE-CIVILE", - answer["date"][:4]) + answer["date"][:4]) + "\n" mailtattach = get_file_content_all(RECEPT_MAIL_ATTACHMENT) + "\n" # Opening PDF file as binary