aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/controllers
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-11-17 10:28:38 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-11-17 10:28:38 +0100
commit101050e0ff6e50b0e1abd2def76d91f59156b1fc (patch)
tree9728e58dd56a8c299da40d870bf9721c17256397 /pyaggr3g470r/controllers
parentminor improvements when deleting old articles, this was stupid... (diff)
parentMerged in jaesivsm/pyaggr3g470r (pull request #22) (diff)
downloadnewspipe-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.py2
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,
bgstack15