From 48e77084e83e4e703678227bbfb30a88b0fa0b39 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Mon, 10 Apr 2023 16:07:14 +0200 Subject: [PATCH] remove newline --- WPImport.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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