From bce1643135cba77de5b9e46eecd46c064fb35481 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Thu, 14 Sep 2023 21:27:09 +0200 Subject: [PATCH] fix replace --- lib/WPImport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: