aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-11-05 22:31:27 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-11-05 22:31:27 +0100
commit1e7560763a35a21d1a87185d055a64c8f5f49f5b (patch)
tree9be0ec31b1ff6a2cf83c12348e987ba1f8c89dfd
parentChanged the ckeck of an existing article in the database. (diff)
downloadnewspipe-1e7560763a35a21d1a87185d055a64c8f5f49f5b.tar.gz
newspipe-1e7560763a35a21d1a87185d055a64c8f5f49f5b.tar.bz2
newspipe-1e7560763a35a21d1a87185d055a64c8f5f49f5b.zip
The test was wrong..sorry..
-rw-r--r--pyaggr3g470r/feedgetter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py
index 570ec5c6..6581b0cc 100644
--- a/pyaggr3g470r/feedgetter.py
+++ b/pyaggr3g470r/feedgetter.py
@@ -88,7 +88,7 @@ class FeedGetter(object):
articles = []
for article in a_feed['entries']:
- if models.Article.objects(link=article.link).first() == None:
+ if models.Article.objects(link=article.link).first() != None:
continue
description = ""
bgstack15