taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | Submodules | README | LICENSE

commit b0c67aa4aeaf03ec7deac4f879811646c7308071
parent 28b2774ce889dcef87bce32162f5326ee6e7b263
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 20 Oct 2022 14:20:54 +0200

-skip li

Diffstat:
Mtalermerchantdemos/blog/content.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/talermerchantdemos/blog/content.py b/talermerchantdemos/blog/content.py @@ -116,12 +116,12 @@ def add_from_html(resource_name, lang): else: titleat = lists if len(titleat) > 0: - if (titelat[0].tag == 'li'): + if (titleat[0].tag == 'li'): teaser = titleat[0].contents[0].prettify() else: teaser = titleat[0].prettify() if (len(titleat) > 1) and (len(teaser) < 100): - if (titelat[1].tag == 'li'): + if (titleat[1].tag == 'li'): teaser2 = titleat[1].contents[0].prettify() else: teaser2 = titleat[1].prettify()