diff options
author | cedricbonhomme <devnull@localhost> | 2012-11-08 23:18:18 +0100 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2012-11-08 23:18:18 +0100 |
commit | 973604dad94d90165c38cefb563b6f617f2ee099 (patch) | |
tree | c150d65d36723df76637d540da92c6f2efbe3b08 /source | |
parent | Porting to Python 3.2. Better, faster, stronger. (diff) | |
download | newspipe-973604dad94d90165c38cefb563b6f617f2ee099.tar.gz newspipe-973604dad94d90165c38cefb563b6f617f2ee099.tar.bz2 newspipe-973604dad94d90165c38cefb563b6f617f2ee099.zip |
Re-enabled tooltip description.
Diffstat (limited to 'source')
-rwxr-xr-x | source/pyAggr3g470r.py | 4 |
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." |