aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/controllers
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel+bitbucket@gmail.com>2015-10-23 18:43:13 +0200
committerCédric Bonhomme <kimble.mandel+bitbucket@gmail.com>2015-10-23 18:43:13 +0200
commit9361348a9707549ff95d9c26c08084cba9d33b95 (patch)
tree3a97b069f7f28d0680ccaf0513dde52a89dc7cc9 /pyaggr3g470r/controllers
parentUpdated Python runtime for Heroku. (diff)
parentlimiting the feed editing request by removing the dull updating of etag and l... (diff)
downloadnewspipe-9361348a9707549ff95d9c26c08084cba9d33b95.tar.gz
newspipe-9361348a9707549ff95d9c26c08084cba9d33b95.tar.bz2
newspipe-9361348a9707549ff95d9c26c08084cba9d33b95.zip
Merged in jaesivsm/pyaggr3g470r (pull request #22)
Fix on the http crawler
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