mirror of
https://github.com/searxng/searxng.git
synced 2026-05-19 17:34:31 +02:00
[fix] cookie parameter type
This commit is contained in:
+1
-1
@@ -624,7 +624,7 @@ def preferences():
|
|||||||
|
|
||||||
resp.set_cookie('method', method, max_age=cookie_max_age)
|
resp.set_cookie('method', method, max_age=cookie_max_age)
|
||||||
|
|
||||||
resp.set_cookie('safesearch', safesearch, max_age=cookie_max_age)
|
resp.set_cookie('safesearch', str(safesearch), max_age=cookie_max_age)
|
||||||
|
|
||||||
resp.set_cookie('image_proxy', image_proxy, max_age=cookie_max_age)
|
resp.set_cookie('image_proxy', image_proxy, max_age=cookie_max_age)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user