From 973604dad94d90165c38cefb563b6f617f2ee099 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Thu, 8 Nov 2012 23:18:18 +0100 Subject: Re-enabled tooltip description. --- source/pyAggr3g470r.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index 8d092fcb..027a9a59 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -193,7 +193,7 @@ class pyAggr3g470r(object): # Descrition for the CSS ToolTips article_content = utils.clear_string(article["article_content"]) - if False: + if article_content: description = " ".join(article_content.split(' ')[:55]) else: description = "No description." @@ -407,7 +407,7 @@ class pyAggr3g470r(object): # descrition for the CSS ToolTips article_content = utils.clear_string(article["article_content"]) - if False: + if article_content: description = " ".join(article_content[:500].split(' ')[:-1]) else: description = "No description." -- cgit