mirror of
https://github.com/searxng/searxng.git
synced 2024-11-19 02:40:11 +01:00
[fix] pep8
This commit is contained in:
parent
c0013edcdd
commit
e56d7a58c7
@ -280,7 +280,7 @@ def preferences():
|
||||
|
||||
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):
|
||||
# cookie max age: 4 weeks
|
||||
|
Loading…
Reference in New Issue
Block a user