WIP: contrôle cotisation

This commit is contained in:
Adrien Bourmault 2022-09-14 23:43:33 +02:00
parent 6767e4ddaf
commit 5b96fe66ce
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 1 additions and 1 deletions

View File

@ -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()