Commit b30a7954 authored by Damien DESPRES's avatar Damien DESPRES
Browse files

Merge branch 'services-ws-absent-en-recette' into 'development'

Services ws absent en recette

See merge request !17
parents 062123e1 ed91e793
Pipeline #19999 failed with stages
in 20 seconds
......@@ -151,7 +151,7 @@ def fix_links( links, credentials=None ):
the_fixed_ws_url = None
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'
tmp = links[k]['url']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment