aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/controllers
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-04 15:09:08 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-04 15:09:08 +0100
commitfa8319bd72f34fb6d157052107463493733e16d0 (patch)
tree4d53e77444b130740b6c1593c71bfe87ec398b50 /pyaggr3g470r/controllers
parentUpdated the name of the command to invoke the crawler based on asyncio. Updat... (diff)
downloadnewspipe-fa8319bd72f34fb6d157052107463493733e16d0.tar.gz
newspipe-fa8319bd72f34fb6d157052107463493733e16d0.tar.bz2
newspipe-fa8319bd72f34fb6d157052107463493733e16d0.zip
Typo.
Diffstat (limited to 'pyaggr3g470r/controllers')
-rw-r--r--pyaggr3g470r/controllers/feed.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/controllers/feed.py b/pyaggr3g470r/controllers/feed.py
index a2455e2b..3d55f255 100644
--- a/pyaggr3g470r/controllers/feed.py
+++ b/pyaggr3g470r/controllers/feed.py
@@ -16,9 +16,9 @@ class FeedController(AbstractController):
max_last = now - timedelta(minutes=user.refresh_rate or 60)
feeds = [feed for feed in self.read(user_id=self.user_id,
error_count__lt=max_error, enabled=True,
- last_retreived__lt=max_last).limit(limit)]
+ last_retrieved__lt=max_last).limit(limit)]
if feeds:
self.update({'id__in': [feed.id for feed in feeds]},
- {'last_retreived': now})
+ {'last_retrieved': now})
return feeds
bgstack15