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