aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views/views.py')
-rw-r--r--src/web/views/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/web/views/views.py b/src/web/views/views.py
index e09d2696..0ae37a8d 100644
--- a/src/web/views/views.py
+++ b/src/web/views/views.py
@@ -263,6 +263,8 @@ def get_menu():
categories[feed['category_id']]['feeds'].append(feed_id)
return jsonify(**{'feeds': feeds, 'categories': categories,
'crawling_method': conf.CRAWLING_METHOD,
+ 'max_error': conf.DEFAULT_MAX_ERROR,
+ 'error_threshold': conf.ERROR_THRESHOLD,
'is_admin': g.user.is_admin(),
'all_unread_count': sum(unread.values())})
bgstack15