1
0
forked from ScoDoc/ScoDoc

Export Apo: retries 4 times...

This commit is contained in:
Emmanuel Viennet 2022-04-22 11:22:18 +02:00
parent 75f8c3b500
commit 59b94c9a45

View File

@ -147,7 +147,7 @@ get_maquette_url = _PI.get_maquette_url
get_portal_api_version = _PI.get_portal_api_version
def get_inscrits_etape(code_etape, anneeapogee=None, ntrials=2, use_cache=True):
def get_inscrits_etape(code_etape, anneeapogee=None, ntrials=4, use_cache=True):
"""Liste des inscrits à une étape Apogée
Result = list of dicts
ntrials: try several time the same request, useful for some bad web services