WIP: contrôle cotisation

This commit is contained in:
Adrien Bourmault 2022-09-14 23:29:12 +02:00
parent 6b2862cbe6
commit aa55c5aa39
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 1 additions and 3 deletions

View File

@ -289,11 +289,9 @@ def validate(member):
try: try:
answer = gestion_read(request)["results"][-1] answer = gestion_read(request)["results"][-1]
except: except:
print(answer) print(gestion_read(request))
raise(Exception) raise(Exception)
print(answer)
date = datetime.datetime.strptime( date = datetime.datetime.strptime(
answer["date"],'%Y-%m-%d').strftime("%d/%m/%Y") answer["date"],'%Y-%m-%d').strftime("%d/%m/%Y")
filename = "{}_reçu_{}".format( filename = "{}_reçu_{}".format(