Skip to content
Snippets Groups Projects
Commit ed91e793 authored by Damien DESPRES's avatar Damien DESPRES
Browse files

fix #12829

parent 0c1c2a49
No related branches found
No related tags found
2 merge requests!23merge dev into master,!17Services ws absent en recette
Pipeline #19998 failed
...@@ -151,7 +151,7 @@ def fix_links( links, credentials=None ): ...@@ -151,7 +151,7 @@ def fix_links( links, credentials=None ):
the_fixed_ws_url = None the_fixed_ws_url = None
for k, link in enumerate(fixed_links): for k, link in enumerate(fixed_links):
if link['protocol'] == 'JSON' and 'download.data.grandlyon.com/ws' in link['url']: if link['protocol'] == 'JSON' and ('download.data.grandlyon.com/ws' in link['url'] or 'download.recette.data.grandlyon.com/ws' in link['url']):
fixed_links[k]['protocol'] = 'WS' fixed_links[k]['protocol'] = 'WS'
tmp = links[k]['url'] tmp = links[k]['url']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment