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