fix replace
This commit is contained in:
parent
0c94783852
commit
bce1643135
@ -141,7 +141,7 @@ class WPimport:
|
|||||||
|
|
||||||
def _getInfoAlbum(self, link):
|
def _getInfoAlbum(self, link):
|
||||||
if self._ssl_canalblog:
|
if self._ssl_canalblog:
|
||||||
link = link.replace("http", "https").("httpss", "https")
|
link = link.replace("http", "https").replace("httpss", "https")
|
||||||
self._logger.info("{0} : Info album : {1}".format(self._name, link))
|
self._logger.info("{0} : Info album : {1}".format(self._name, link))
|
||||||
link_o = urlparse(link)
|
link_o = urlparse(link)
|
||||||
if len(link_o.netloc) > 0:
|
if len(link_o.netloc) > 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user