From 5499562bc71d9e70d08a3f1e3d2efc0ed2f3d798 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Sat, 10 Mar 2012 09:01:29 +0100 Subject: top_words is not an attribute of Root(). --- pyAggr3g470r.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 7c605821..28a4090e 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -321,7 +321,7 @@ class Root: # Some statistics (most frequent word) if articles: - self.top_words = utils.top_words(articles, n=50, size=int(word_size)) + top_words = utils.top_words(articles, n=50, size=int(word_size)) html += "

Statistics

\n
\n" # Tags cloud html += 'Minimum size of a word:' @@ -330,7 +330,7 @@ class Root: html += '\n' html += '

Tag cloud

\n' html += '
' + \ - utils.tag_cloud(self.top_words) + '
' + utils.tag_cloud(top_words) + '' html += "
\n" html += htmlfooter -- cgit