From 4009b9a66dd2125671526c294a8951d253bf2b92 Mon Sep 17 00:00:00 2001 From: dalf Date: Tue, 31 Dec 2013 12:54:48 +0100 Subject: [PATCH] [mod] the browser search always uses the general category --- searx/webapp.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/searx/webapp.py b/searx/webapp.py index c95cae2c2..20534416f 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -90,11 +90,6 @@ def index(): if not category in categories: continue selected_categories.append(category) - if not len(selected_categories): - cookie_categories = request.cookies.get('categories', '').split(',') - for ccateg in cookie_categories: - if ccateg in categories: - selected_categories.append(ccateg) if not len(selected_categories): selected_categories = ['general']