|
@@ -482,7 +482,7 @@ class Search(object):
|
482
|
482
|
try:
|
483
|
483
|
# 0 = None, 1 = Moderate, 2 = Strict
|
484
|
484
|
request_params['safesearch'] = int(request.cookies.get('safesearch'))
|
485
|
|
- except ValueError:
|
|
485
|
+ except Exception:
|
486
|
486
|
request_params['safesearch'] = settings['search']['safe_search']
|
487
|
487
|
|
488
|
488
|
# update request parameters dependent on
|