From 5b96fe66cea64a53b4934b16504172e16307e9a1 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Wed, 14 Sep 2022 23:43:33 +0200 Subject: [PATCH] =?UTF-8?q?WIP:=20contr=C3=B4le=20cotisation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controle_cotisation/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()