mirror of https://github.com/searxng/searxng.git
[mod] removed debug messages
This commit is contained in:
parent
9e1ded688f
commit
1f79a571dd
|
@ -49,10 +49,8 @@ def index():
|
||||||
return render('index.html')
|
return render('index.html')
|
||||||
selected_engines = []
|
selected_engines = []
|
||||||
for pd_name,pd in request.form.items():
|
for pd_name,pd in request.form.items():
|
||||||
print pd
|
|
||||||
if pd_name.startswith('engine_'):
|
if pd_name.startswith('engine_'):
|
||||||
selected_engines.append(pd_name[7:])
|
selected_engines.append(pd_name[7:])
|
||||||
print selected_engines
|
|
||||||
query = request.form['q']
|
query = request.form['q']
|
||||||
results = search(query, request, selected_engines)
|
results = search(query, request, selected_engines)
|
||||||
return render('results.html', results=results, q=query)
|
return render('results.html', results=results, q=query)
|
||||||
|
|
Loading…
Reference in New Issue