From 16155ddc3981fd4117cda0e91ef6cc8af4f1553c Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sat, 8 Mar 2014 14:03:42 +0100 Subject: [PATCH] [fix] pep8 --- searx/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/webapp.py b/searx/webapp.py index 4201b19e5..fdb6568b4 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -96,7 +96,7 @@ def render(template_name, **kwargs): kwargs['categories'] = ['general'] kwargs['categories'].extend(x for x in sorted(categories.keys()) - if x != 'general'\ + if x != 'general' and x in nonblocked_categories) if not 'selected_categories' in kwargs: kwargs['selected_categories'] = []