diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-04 15:09:08 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-04 15:09:08 +0100 |
commit | fa8319bd72f34fb6d157052107463493733e16d0 (patch) | |
tree | 4d53e77444b130740b6c1593c71bfe87ec398b50 /pyaggr3g470r/controllers | |
parent | Updated the name of the command to invoke the crawler based on asyncio. Updat... (diff) | |
download | newspipe-fa8319bd72f34fb6d157052107463493733e16d0.tar.gz newspipe-fa8319bd72f34fb6d157052107463493733e16d0.tar.bz2 newspipe-fa8319bd72f34fb6d157052107463493733e16d0.zip |
Typo.
Diffstat (limited to 'pyaggr3g470r/controllers')
-rw-r--r-- | pyaggr3g470r/controllers/feed.py | 4 |
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 |