From 59b94c9a45451749a0c651af0e4f5375c67050aa Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 22 Apr 2022 11:22:18 +0200 Subject: [PATCH] Export Apo: retries 4 times... --- app/scodoc/sco_portal_apogee.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_portal_apogee.py b/app/scodoc/sco_portal_apogee.py index e4684e68..8c77b91c 100644 --- a/app/scodoc/sco_portal_apogee.py +++ b/app/scodoc/sco_portal_apogee.py @@ -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