commit: 3a8eafcc6b19b4b47b10534fbc683e4e3fbc064d
parent: 7c9f931baff35e8a8986810971fa1949f18c19ad
Author: Adam Tauber <asciimoo@gmail.com>
Date: Wed, 12 Aug 2015 15:49:48 +0200
[fix] cookie parameter type
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/searx/webapp.py b/searx/webapp.py
@@ -624,7 +624,7 @@ def preferences():
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)