diff options
author | cedricbonhomme <devnull@localhost> | 2010-12-07 15:08:43 +0100 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-12-07 15:08:43 +0100 |
commit | 0df89ec39603f7dc5ada6f1f164e10791ce2a060 (patch) | |
tree | 834788ad2af5c44e1184d30109a40ae6e41dcb51 | |
parent | Renamed 2 dynamic pages. (diff) | |
download | newspipe-0df89ec39603f7dc5ada6f1f164e10791ce2a060.tar.gz newspipe-0df89ec39603f7dc5ada6f1f164e10791ce2a060.tar.bz2 newspipe-0df89ec39603f7dc5ada6f1f164e10791ce2a060.zip |
Minor bug fix.
-rwxr-xr-x | pyAggr3g470r.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index dd962144..1d9c1c1b 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -354,11 +354,8 @@ class Root: if wordre.findall(article_content) != []: if new_feed_section is True: new_feed_section = False - html += """<h2><a name="%s"><a href="%s" rel="noreferrer" - target="_blank">%s</a></a> - <a href="%s" rel="noreferrer" - target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \ - (feed.feed_id, feed.feed_id, feed.feed_title, feed.feed_link, feed.feed_image) + html += """<h2><a href="/articles/%s" rel="noreferrer" target="_blank">%s</a><a href="%s" rel="noreferrer" target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \ + (feed.feed_id, feed.feed_title, feed.feed_link, feed.feed_image) if article.article_readed == "0": # not readed articles are in bold |