[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-merchant-demos] branch master updated: -skip li
From: |
gnunet |
Subject: |
[taler-taler-merchant-demos] branch master updated: -skip li |
Date: |
Thu, 20 Oct 2022 14:20:57 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository taler-merchant-demos.
The following commit(s) were added to refs/heads/master by this push:
new b0c67aa -skip li
b0c67aa is described below
commit b0c67aa4aeaf03ec7deac4f879811646c7308071
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Oct 20 14:20:54 2022 +0200
-skip li
---
talermerchantdemos/blog/content.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/talermerchantdemos/blog/content.py
b/talermerchantdemos/blog/content.py
index 2c31199..bb5fad6 100644
--- 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()
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.