From 7886b6729a56e5533231f8816ac4c47e1522d766 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Thu, 18 Nov 2010 07:26:55 +0100 Subject: Minor bug fix. --- pyAggr3g470r.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyAggr3g470r.py') diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 397fded4..fe634f00 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -187,7 +187,7 @@ class Root: html += article[1].encode('utf-8') + " - " + \ """%s%s%s%s""" % \ (rss_feed_id, article[0].encode('utf-8'), not_read_begin, \ - " ".join(article[2].encode('utf-8')[:400].split(' ')[:-1]), \ + article[2].encode('utf-8')[:150], \ not_read_end, description) + like + \ "
\n" html += "
\n" -- cgit