aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-11-08 23:18:18 +0100
committercedricbonhomme <devnull@localhost>2012-11-08 23:18:18 +0100
commit973604dad94d90165c38cefb563b6f617f2ee099 (patch)
treec150d65d36723df76637d540da92c6f2efbe3b08 /source
parentPorting to Python 3.2. Better, faster, stronger. (diff)
downloadnewspipe-973604dad94d90165c38cefb563b6f617f2ee099.tar.gz
newspipe-973604dad94d90165c38cefb563b6f617f2ee099.tar.bz2
newspipe-973604dad94d90165c38cefb563b6f617f2ee099.zip
Re-enabled tooltip description.
Diffstat (limited to 'source')
-rwxr-xr-xsource/pyAggr3g470r.py4
1 files changed, 2 insertions, 2 deletions
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."
bgstack15