mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-08 18:06:10 +00:00
Fixed mix add flow
This commit is contained in:
@@ -3,5 +3,5 @@ import urlparse
|
||||
__author__ = 'fergalm'
|
||||
def urlclean(url):
|
||||
#remove double slashes
|
||||
ret = urlparse.urlparse(url).path.replace('//', '/')
|
||||
ret = urlparse.urljoin(url, urlparse.urlparse(url).path.replace('//','/'))
|
||||
return ret
|
||||
Reference in New Issue
Block a user