Skip to content
Snippets Groups Projects
Commit adf40d61 authored by Alessandro Cerioni's avatar Alessandro Cerioni
Browse files

Bugfix.

SOS links were output as a list, rather than a string.
parent 2574b8f4
Branches
Tags
No related merge requests found
...@@ -93,7 +93,7 @@ def fix_links( links ): ...@@ -93,7 +93,7 @@ def fix_links( links ):
if link['protocol'] == 'SOS': if link['protocol'] == 'SOS':
if '?' in link['url']: if '?' in link['url']:
fixed_links[k]['url'] = link['url'].split('?')[:-1] fixed_links[k]['url'] = link['url'].split('?')[0]
return fixed_links return fixed_links
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment