aboutsummaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.py b/utils.py
index e3e209b2..c6bbcb0c 100644
--- a/utils.py
+++ b/utils.py
@@ -164,7 +164,7 @@ def load_feed():
language = detect_language(remove_html_tags(article[3][:80]).encode('utf-8') + \
remove_html_tags(article[1]).encode('utf-8'))
else:
- language = "other"
+ language = detect_language(remove_html_tags(article[1]).encode('utf-8'))
article_list = [article_id, article[0], article[1], \
article[2], article[3], article[4], language]
bgstack15