diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-05 22:27:11 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-05 22:27:11 +0100 |
commit | f4088d349f134e1864db216be3ee3fcd95961ad0 (patch) | |
tree | 089932c0df54c90d3958609765a1ad404403ffa7 /pyaggr3g470r | |
parent | Missing character... (diff) | |
download | newspipe-f4088d349f134e1864db216be3ee3fcd95961ad0.tar.gz newspipe-f4088d349f134e1864db216be3ee3fcd95961ad0.tar.bz2 newspipe-f4088d349f134e1864db216be3ee3fcd95961ad0.zip |
Changed the ckeck of an existing article in the database.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/feedgetter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py index 53e57fa7..570ec5c6 100644 --- a/pyaggr3g470r/feedgetter.py +++ b/pyaggr3g470r/feedgetter.py @@ -88,7 +88,7 @@ class FeedGetter(object): articles = [] for article in a_feed['entries']: - if article.link in feed.articles: + if models.Article.objects(link=article.link).first() == None: continue description = "" |