aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-10-20 10:38:21 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-10-20 14:58:49 +0200
commit4fff9ae4ed2de8a832fc9aa44fad8ba76e307c39 (patch)
tree8f829f2669d9d8f31fe1367346602775fd3e4c73 /pyaggr3g470r
parentfixing stupid, stupid bug where we instanciated multiple threadpool (diff)
downloadnewspipe-4fff9ae4ed2de8a832fc9aa44fad8ba76e307c39.tar.gz
newspipe-4fff9ae4ed2de8a832fc9aa44fad8ba76e307c39.tar.bz2
newspipe-4fff9ae4ed2de8a832fc9aa44fad8ba76e307c39.zip
fixing warning SAWarning: Can't resolve label reference 'Feed.last_retrieved'
Diffstat (limited to 'pyaggr3g470r')
-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