logo

searx

Unnamed repository; edit this file 'description' to name the repository.
commit: 7c9f931baff35e8a8986810971fa1949f18c19ad
parent: 43cd8e0c4129571a263429173c7a9fe7092e1dec
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Sun,  2 Aug 2015 20:41:44 +0200

[fix] type error

Diffstat:

searx/search.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/search.py b/searx/search.py @@ -482,7 +482,7 @@ class Search(object): try: # 0 = None, 1 = Moderate, 2 = Strict request_params['safesearch'] = int(request.cookies.get('safesearch')) - except ValueError: + except Exception: request_params['safesearch'] = settings['search']['safe_search'] # update request parameters dependent on