WIP: contrôle cotisation
This commit is contained in:
parent
6b2862cbe6
commit
aa55c5aa39
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue