mirror of
https://github.com/searxng/searxng.git
synced 2025-01-31 20:32:20 +00:00
[fix] pep8
This commit is contained in:
parent
13a27b909e
commit
16155ddc39
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ def render(template_name, **kwargs):
|
||||||
kwargs['categories'] = ['general']
|
kwargs['categories'] = ['general']
|
||||||
kwargs['categories'].extend(x for x in
|
kwargs['categories'].extend(x for x in
|
||||||
sorted(categories.keys())
|
sorted(categories.keys())
|
||||||
if x != 'general'\
|
if x != 'general'
|
||||||
and x in nonblocked_categories)
|
and x in nonblocked_categories)
|
||||||
if not 'selected_categories' in kwargs:
|
if not 'selected_categories' in kwargs:
|
||||||
kwargs['selected_categories'] = []
|
kwargs['selected_categories'] = []
|
||||||
|
|
Loading…
Reference in a new issue