diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-11-17 10:28:38 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-11-17 10:28:38 +0100 |
commit | 101050e0ff6e50b0e1abd2def76d91f59156b1fc (patch) | |
tree | 9728e58dd56a8c299da40d870bf9721c17256397 /pyaggr3g470r/controllers | |
parent | minor improvements when deleting old articles, this was stupid... (diff) | |
parent | Merged in jaesivsm/pyaggr3g470r (pull request #22) (diff) | |
download | newspipe-101050e0ff6e50b0e1abd2def76d91f59156b1fc.tar.gz newspipe-101050e0ff6e50b0e1abd2def76d91f59156b1fc.tar.bz2 newspipe-101050e0ff6e50b0e1abd2def76d91f59156b1fc.zip |
Merge branch 'master' of bitbucket.org:cedricbonhomme/pyaggr3g470r
Diffstat (limited to 'pyaggr3g470r/controllers')
-rw-r--r-- | pyaggr3g470r/controllers/feed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/controllers/feed.py b/pyaggr3g470r/controllers/feed.py index a8e96217..90ee6ea5 100644 --- a/pyaggr3g470r/controllers/feed.py +++ b/pyaggr3g470r/controllers/feed.py @@ -41,7 +41,7 @@ class FeedController(AbstractController): return [feed for feed in self.read( error_count__lt=max_error, enabled=True, last_retrieved__lt=max_last) - .order_by('Feed.last_retrieved') + .order_by('last_retrieved') .limit(limit)] def list_fetchable(self, max_error=DEFAULT_MAX_ERROR, limit=DEFAULT_LIMIT, |