Browse Source

[fix] cookie parameter type

Adam Tauber 9 years ago
parent
commit
3a8eafcc6b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      searx/webapp.py

+ 1
- 1
searx/webapp.py View File

624
 
624
 
625
         resp.set_cookie('method', method, max_age=cookie_max_age)
625
         resp.set_cookie('method', method, max_age=cookie_max_age)
626
 
626
 
627
-        resp.set_cookie('safesearch', safesearch, max_age=cookie_max_age)
627
+        resp.set_cookie('safesearch', str(safesearch), max_age=cookie_max_age)
628
 
628
 
629
         resp.set_cookie('image_proxy', image_proxy, max_age=cookie_max_age)
629
         resp.set_cookie('image_proxy', image_proxy, max_age=cookie_max_age)
630
 
630