Remove spaces.

This commit is contained in:
Ignacio Fiorentino 2016-10-11 13:18:06 -03:00
parent 38e37e7c47
commit 2cedde5e3f

View file

@ -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