[fix] cookie parameter type

This commit is contained in:
Adam Tauber 2015-08-12 15:49:48 +02:00
parent 7c9f931baf
commit 3a8eafcc6b

View File

@ -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)