From 4a125db6ad4089bf3560af678965365ca85a9009 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 24 Jul 2013 18:18:30 +0200 Subject: Bugfix when checking if an article is already in the database. --- source/feedgetter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/feedgetter.py b/source/feedgetter.py index a9f0b01c..44fd7daa 100755 --- a/source/feedgetter.py +++ b/source/feedgetter.py @@ -178,7 +178,7 @@ class FeedGetter(object): articles.append(article) - if self.articles.get_articles(feed_id, article_id) == False: + if self.articles.get_articles(feed_id, article_id) == []: # add the article to the Whoosh index search.add_to_index([article], feed) -- cgit