From a0407c35eb9c300d2e4548aa1d9c7f6923dd5040 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Sun, 2 Jan 2011 16:42:19 +0100 Subject: Minor changes. --- pyAggr3g470r.py | 5 +++-- 1 file 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 += """
\n""" % \ (feed_id, previous.article_id, previous.article_title) - except: - pass html += "\n\n" -- cgit