From 5959ab5b2ee7aefddca1b159a1862ddd896fcf34 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sat, 12 Aug 2023 00:06:09 +0200 Subject: [PATCH] add galery wip --- .gitignore | 1 + lib/WPImport.py | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/.gitignore b/.gitignore index f82fde7..c986d66 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ backup*/ wp-navigation *.log __pycache__/ +wp-gallery \ No newline at end of file diff --git a/lib/WPImport.py b/lib/WPImport.py index 3041514..16200e4 100644 --- a/lib/WPImport.py +++ b/lib/WPImport.py @@ -180,6 +180,14 @@ class WPimport: except Exception as err: self._logger.error("{0} : Exception error for get image : {1}".format(self._name, err)) exit(1) + content_html = "

{0}

\n\n".format(albumdesc) + + content_html = content_html + "