cotisation : vérification du courriel (3)
This commit is contained in:
parent
4ccdbee1db
commit
398925464a
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue