aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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