Commit 1c1fd765 authored by Alessandro CERIONI's avatar Alessandro CERIONI
Browse files

The fix_links scripts was considering that all the JSON files were issued by the WS service.

parent 4fec4af7
......@@ -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':
if link['protocol'] == 'JSON' and 'download.data.grandlyon.com/ws' in link['url']:
fixed_links[k]['protocol'] = 'WS'
tmp = fixed_links[k]['name']
......
Supports Markdown
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