logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 16155ddc3981fd4117cda0e91ef6cc8af4f1553c
parent: 13a27b909e3cdc484be436961d7873bfba0fb395
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Sat,  8 Mar 2014 14:03:42 +0100

[fix] pep8

Diffstat:

Msearx/webapp.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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'] = []