diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-08 19:42:16 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-08 19:42:16 +0200 |
commit | b2a98303a052deab8c6c8a30f4e30fefd7e7215b (patch) | |
tree | 141f8e30d481dc44bbc4051bc5e2f70b5392ac74 | |
parent | Mark all articles (or all articles from a feed) as read. (diff) | |
download | newspipe-b2a98303a052deab8c6c8a30f4e30fefd7e7215b.tar.gz newspipe-b2a98303a052deab8c6c8a30f4e30fefd7e7215b.tar.bz2 newspipe-b2a98303a052deab8c6c8a30f4e30fefd7e7215b.zip |
Fix.
-rw-r--r-- | pyaggr3g470r/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index 9be985c9..551abba2 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -257,7 +257,7 @@ def mark_as_read(feed_id=None): Mark all unreaded articles as read. """ if feed_id != None: - articles, feed = Article.query.filter(Article.readed == False).join(Feed).filter(Feed.id == feed_id).update({"readed": True}) + Article.query.filter(Article.readed == False).join(Feed).filter(Feed.id == feed_id).update({"readed": True}) flash('Articles marked as read.', 'info') else: Article.query.filter(Article.readed == False).update({"readed": True}) |