diff options
author | Adam Tauber <asciimoo@gmail.com> | 2015-08-12 15:49:48 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2015-08-12 15:49:48 +0200 |
commit | 3a8eafcc6b19b4b47b10534fbc683e4e3fbc064d (patch) | |
tree | c868b39f6a6434bcbe8b812c42612868778b2513 /searx/webapp.py | |
parent | 7c9f931baff35e8a8986810971fa1949f18c19ad (diff) | |
download | searxng-3a8eafcc6b19b4b47b10534fbc683e4e3fbc064d.tar.gz searxng-3a8eafcc6b19b4b47b10534fbc683e4e3fbc064d.zip |
[fix] cookie parameter type
Diffstat (limited to 'searx/webapp.py')
-rw-r--r-- | searx/webapp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 06f246620..7f1621a6a 100644 --- 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) |