From fd1e4060ebfe5f8932aefe855e96a05cbc5626da Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Fri, 3 Dec 2010 08:23:04 +0100 Subject: Updated code for new data structure. #6 --- pyAggr3g470r.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pyAggr3g470r.py') diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index e5f0cd98..79d204f3 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -258,12 +258,12 @@ class Root: html += """
\n
\n""" - if self.articles: + if self.feeds: html += "

Delete Feeds

\n" html += """
\n""" html += """

Active e-mail notifications: %s

\n""" % \ (self.nb_mail_notifications,) @@ -291,8 +291,8 @@ class Root: html += "
\n\n" # Some statistics - if self.articles: - self.top_words = utils.top_words(self.articles, n=50, size=int(word_size)) + if self.feeds: + self.top_words = utils.top_words(self.feeds, n=50, size=int(word_size)) html += "

Statistics

\n
\n" # Tags cloud html += 'Minimum size of a word:' -- cgit