aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-07-31 13:15:16 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-07-31 13:15:16 +0200
commit3b3f188e1558987a8a14dc303912e208f77c7b60 (patch)
treeaa75bab5040e0c15db0d3c9942695779e2c696c7 /pyaggr3g470r/views
parentThe numver ov values of the splited string is variable (sometimes the charset... (diff)
downloadnewspipe-3b3f188e1558987a8a14dc303912e208f77c7b60.tar.gz
newspipe-3b3f188e1558987a8a14dc303912e208f77c7b60.tar.bz2
newspipe-3b3f188e1558987a8a14dc303912e208f77c7b60.zip
adding munin probes
Diffstat (limited to 'pyaggr3g470r/views')
-rw-r--r--pyaggr3g470r/views/api/feed.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/views/api/feed.py b/pyaggr3g470r/views/api/feed.py
index 530f3fef..ae2cd735 100644
--- a/pyaggr3g470r/views/api/feed.py
+++ b/pyaggr3g470r/views/api/feed.py
@@ -3,6 +3,7 @@
from flask import g
+import conf
from pyaggr3g470r.controllers.feed import (FeedController,
DEFAULT_MAX_ERROR,
DEFAULT_LIMIT,
@@ -54,7 +55,7 @@ class FetchableFeedAPI(PyAggAbstractResource):
if g.user.refresh_rate:
args['refresh_rate'] = g.user.refresh_rate
- if args.pop('retreive_all'):
+ if args.pop('retreive_all', False):
contr = self.wider_controller
else:
contr = self.controller
bgstack15