WIP: contrôle cotisation
This commit is contained in:
parent
6767e4ddaf
commit
5b96fe66ce
|
@ -339,7 +339,7 @@ def validate(member):
|
||||||
mailtattach = get_file_content_all(RECEPT_MAIL_ATTACHMENT) + "\n"
|
mailtattach = get_file_content_all(RECEPT_MAIL_ATTACHMENT) + "\n"
|
||||||
|
|
||||||
# Opening PDF file as binary
|
# Opening PDF file as binary
|
||||||
attachment = open(WORKDIR+"/validé/", filename+".pdf", "rb")
|
attachment = open(WORKDIR+"/validé/"+filename+".pdf", "rb")
|
||||||
data = attachment.read()
|
data = attachment.read()
|
||||||
attachment.close()
|
attachment.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue