aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/controllers
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-03-03 00:02:09 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-03-03 22:23:47 +0100
commit643f4590445928b7ac568b922f1edb6f52765b68 (patch)
tree268570ca5f205dbe0a8f5b13ab8a0b0c7bcc2227 /pyaggr3g470r/controllers
parentmulti crawler update (diff)
downloadnewspipe-643f4590445928b7ac568b922f1edb6f52765b68.tar.gz
newspipe-643f4590445928b7ac568b922f1edb6f52765b68.tar.bz2
newspipe-643f4590445928b7ac568b922f1edb6f52765b68.zip
displaying feed errors in ui
Diffstat (limited to 'pyaggr3g470r/controllers')
-rw-r--r--pyaggr3g470r/controllers/feed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/controllers/feed.py b/pyaggr3g470r/controllers/feed.py
index 286bea1e..a2455e2b 100644
--- a/pyaggr3g470r/controllers/feed.py
+++ b/pyaggr3g470r/controllers/feed.py
@@ -15,7 +15,7 @@ class FeedController(AbstractController):
user = UserController(self.user_id).get(id=self.user_id)
max_last = now - timedelta(minutes=user.refresh_rate or 60)
feeds = [feed for feed in self.read(user_id=self.user_id,
- error_count__le=max_error, enabled=True,
+ error_count__lt=max_error, enabled=True,
last_retreived__lt=max_last).limit(limit)]
if feeds:
bgstack15