Browse Source

[mod] the browser search always uses the general category

dalf 11 years ago
parent
commit
4009b9a66d
1 changed files with 0 additions and 5 deletions
  1. 0
    5
      searx/webapp.py

+ 0
- 5
searx/webapp.py View File

@@ -91,11 +91,6 @@ def index():
91 91
                     continue
92 92
                 selected_categories.append(category)
93 93
         if not len(selected_categories):
94
-            cookie_categories = request.cookies.get('categories', '').split(',')
95
-            for ccateg in cookie_categories:
96
-                if ccateg in categories:
97
-                    selected_categories.append(ccateg)
98
-        if not len(selected_categories):
99 94
             selected_categories = ['general']
100 95
 
101 96
         for categ in selected_categories: