summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-03-08 14:03:42 +0100
committerAdam Tauber <asciimoo@gmail.com>2014-03-08 14:03:42 +0100
commit16155ddc3981fd4117cda0e91ef6cc8af4f1553c (patch)
tree6765bf63400d39526e8a23ac9def6267ad89f729
parent13a27b909e3cdc484be436961d7873bfba0fb395 (diff)
downloadsearxng-16155ddc3981fd4117cda0e91ef6cc8af4f1553c.tar.gz
searxng-16155ddc3981fd4117cda0e91ef6cc8af4f1553c.zip
[fix] pep8
-rw-r--r--searx/webapp.py2
1 files changed, 1 insertions, 1 deletions
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'] = []