diff --git a/controle_cotisation/main.py b/controle_cotisation/main.py index 457a185..1eec9be 100755 --- a/controle_cotisation/main.py +++ b/controle_cotisation/main.py @@ -339,7 +339,7 @@ def validate(member): mailtattach = get_file_content_all(RECEPT_MAIL_ATTACHMENT) + "\n" # Opening PDF file as binary - attachment = open(WORKDIR+"/validé/", filename+".pdf", "rb") + attachment = open(WORKDIR+"/validé/"+filename+".pdf", "rb") data = attachment.read() attachment.close()