Remove spaces.
This commit is contained in:
parent
38e37e7c47
commit
2cedde5e3f
1 changed files with 0 additions and 2 deletions
|
@ -17,9 +17,7 @@ def cleanup_url_from_query_string(uri):
|
|||
:type uri: str
|
||||
:return: cleaned URI without query string
|
||||
"""
|
||||
|
||||
clean_uri = urlsplit(uri)
|
||||
# noinspection PyProtectedMember
|
||||
clean_uri = urlunsplit(clean_uri._replace(query=''))
|
||||
return clean_uri
|
||||
|
||||
|
|
Loading…
Reference in a new issue