diff --git a/lib/WPImport.py b/lib/WPImport.py index f48bc85..8c2aa2d 100644 --- a/lib/WPImport.py +++ b/lib/WPImport.py @@ -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: