cotisation : vérification du courriel (3)

This commit is contained in:
Adrien Bourmault 2023-11-04 16:06:01 +01:00
parent 4ccdbee1db
commit 398925464a
Signed by: neox
GPG Key ID: 2974E1D5F25DFCC8
1 changed files with 10 additions and 3 deletions

View File

@ -188,12 +188,19 @@ def check_email_created(member):
return True
request = {
'state' : "opened",
'state' : "open",
'labels' : [968],
'q' : "Création d'un compte courriel membre n°{}".format(numero)
}
answer = git_mail_ticket_read(request)
answer1 = git_mail_ticket_read(request)
if len(answer) >= 1:
request = {
'state' : "closed",
'q' : "Création d'un compte courriel membre n°{}".format(numero)
}
answer2 = git_mail_ticket_read(request)
if len(answer1) + len(answer2) >= 1:
return True
return False