Correction bug cotisation
This commit is contained in:
parent
7dc37931dc
commit
f9c2b848e7
|
@ -347,9 +347,12 @@ def validate(member):
|
|||
|
||||
try:
|
||||
answer = gestion_read(request)["results"][-1]
|
||||
except:
|
||||
print(gestion_read(request))
|
||||
raise(Exception)
|
||||
except IndexError:
|
||||
BUF.append("* {} (numero inconnu)".format(member))
|
||||
BUF.append(" SUPPRESSION MEMBRE")
|
||||
BUF.append("")
|
||||
os.remove(WORKDIR+"/transition/"+member)
|
||||
return
|
||||
|
||||
date = datetime.datetime.strptime(
|
||||
answer["date"],'%Y-%m-%d').strftime("%d/%m/%Y")
|
||||
|
|
Loading…
Reference in New Issue