diff --git a/WPImport.py b/WPImport.py index 339a8c0..9e2cec6 100644 --- a/WPImport.py +++ b/WPImport.py @@ -278,8 +278,4 @@ class WPimport: page = requests.post("http://{0}/wp-json/wp/v2/comments".format(self._wordpress), auth=self._basic, data=data) if page.status_code == 201: self._logger.info("Commentaire ajoute pour {0}".format(result["title"]["raw"])) - self._linkImgPost(result["title"]["raw"], list_img, result["id"]) - - - - + self._linkImgPost(result["title"]["raw"], list_img, result["id"]) \ No newline at end of file