From aa8ac9cfcbf24a0b46cafa3ae24e7e75acd7ace5 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sat, 15 Jul 2023 14:00:23 +0200 Subject: [PATCH] first test id from post --- lib/WPMenu.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/WPMenu.py b/lib/WPMenu.py index ba9ef99..15aff40 100644 --- a/lib/WPMenu.py +++ b/lib/WPMenu.py @@ -153,6 +153,8 @@ class WPMenu: self._logger.info("{0} link {1} title {2}".format(self._name, link, title)) if link == "index.html": idMenu = self._getId(title) + else: + idMenu = self._getIdFromPost(href) return idMenu