WIP: contrôle cotisation

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

View File

@ -326,6 +326,7 @@ def validate(member):
pass pass
set_file_content(WORKDIR+"/validé/"+filename+".tex", latexfile) set_file_content(WORKDIR+"/validé/"+filename+".tex", latexfile)
os.system("cd {} && pdflatex {}".format(WORKDIR+"/validé/", filename+".tex")) os.system("cd {} && pdflatex {}".format(WORKDIR+"/validé/", filename+".tex"))
os.remove(WORKDIR+"/transition/"+member)
def validate_members(): def validate_members():
for record in os.listdir(WORKDIR+"/transition"): for record in os.listdir(WORKDIR+"/transition"):