Explorar el Código

[mod] the browser search always uses the general category

dalf hace 11 años
padre
commit
4009b9a66d
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0
    5
      searx/webapp.py

+ 0
- 5
searx/webapp.py Ver fichero

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