Skip to content

Commit

Permalink
wx.metadata/m.csw.update: fix strip URL string (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Sep 23, 2020
1 parent da42db7 commit 7027216
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -625,7 +625,7 @@ def _strip_url(self, url):
:return str: stripped url
"""
return url.strip().replace('\n', '')
return url.strip().split()[0].replace('\n', '')

def _handle_multiple_url(self, url):
"""Parse multiple url from one string and valide them and check
Expand Down

0 comments on commit 7027216

Please sign in to comment.