mirror of https://github.com/searxng/searxng.git
[fix] pep8
This commit is contained in:
parent
c0013edcdd
commit
e56d7a58c7
|
@ -280,7 +280,7 @@ def preferences():
|
||||||
|
|
||||||
resp = make_response(redirect('/'))
|
resp = make_response(redirect('/'))
|
||||||
|
|
||||||
user_blocked_engines = request.cookies.get('blocked_engines', '').split(',') # noqa
|
user_blocked_engines = request.cookies.get('blocked_engines', '').split(',') # noqa
|
||||||
|
|
||||||
if sorted(blocked_engines) != sorted(user_blocked_engines):
|
if sorted(blocked_engines) != sorted(user_blocked_engines):
|
||||||
# cookie max age: 4 weeks
|
# cookie max age: 4 weeks
|
||||||
|
|
Loading…
Reference in New Issue