diff options
author | cedricbonhomme <devnull@localhost> | 2011-01-02 16:42:19 +0100 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2011-01-02 16:42:19 +0100 |
commit | a0407c35eb9c300d2e4548aa1d9c7f6923dd5040 (patch) | |
tree | 9356d357fc45e159f9a3f25491689cce713567e9 | |
parent | Removed year of copyright. (diff) | |
download | newspipe-a0407c35eb9c300d2e4548aa1d9c7f6923dd5040.tar.gz newspipe-a0407c35eb9c300d2e4548aa1d9c7f6923dd5040.tar.bz2 newspipe-a0407c35eb9c300d2e4548aa1d9c7f6923dd5040.zip |
Minor changes.
-rwxr-xr-x | pyAggr3g470r.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 51b06aff..b7a19d34 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -454,10 +454,11 @@ class Root: pass try: previous = feed.articles.values()[feed.articles.keys().index(article_id) + 1] + except: + previous = feed.articles.values()[0] + finally: html += """<div style="float:left;"><a href="/article/%s:%s" title="%s"><img src="/css/img/previous-article.png" /></a></div>\n""" % \ (feed_id, previous.article_id, previous.article_title) - except: - pass html += "\n</div>\n" |