fix replace

This commit is contained in:
Valentin CZERYBA 2023-09-14 21:27:09 +02:00
parent 0c94783852
commit bce1643135

View File

@ -141,7 +141,7 @@ class WPimport:
def _getInfoAlbum(self, link):
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))
link_o = urlparse(link)
if len(link_o.netloc) > 0: