Commits

Cédric Bonhomme committed 4e37127

Bugfix when checking if an article is already in the database.

Comments (0)

Files changed (1)

source/feedgetter.py

 
             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)