aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-11-18 07:26:55 +0100
committercedricbonhomme <devnull@localhost>2010-11-18 07:26:55 +0100
commit7886b6729a56e5533231f8816ac4c47e1522d766 (patch)
tree78c51e97cd141eee060aa58c879d5536834a4b04
parentIntroduction RSS export function. (diff)
downloadnewspipe-7886b6729a56e5533231f8816ac4c47e1522d766.tar.gz
newspipe-7886b6729a56e5533231f8816ac4c47e1522d766.tar.bz2
newspipe-7886b6729a56e5533231f8816ac4c47e1522d766.zip
Minor bug fix.
-rwxr-xr-xpyAggr3g470r.py2
1 files changed, 1 insertions, 1 deletions
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') + " - " + \
"""<a class="tooltip" href="/description/%s:%s" rel="noreferrer" target="_blank">%s%s%s<span class="classic">%s</span></a>""" % \
(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 + \
"<br />\n"
html += "<br />\n"
bgstack15