WIP: contrôle cotisation

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

View File

@ -286,7 +286,11 @@ def validate(member):
"WHERE m.id = {} AND l.id_account = 481;".format(member) "WHERE m.id = {} AND l.id_account = 481;".format(member)
# Note: su.id_service = 1 parceque la cotisation correspond au service 1 # Note: su.id_service = 1 parceque la cotisation correspond au service 1
answer = gestion_read(request)["results"][-1] try:
answer = gestion_read(request)["results"][-1]
except:
print(answer)
raise(Exception)
print(answer) print(answer)