summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorpw3t <romain@berthor.fr>2014-01-19 19:54:52 +0100
committerpw3t <romain@berthor.fr>2014-01-19 19:54:52 +0100
commitd6b017efb5b51623a02c85690c7335cfc6674092 (patch)
tree7f86b5106b37f5163dc6405378deb8797db0fbac /searx/webapp.py
parent9e72ebe064a10fe5369049ae94ab5248bfd38811 (diff)
parent380b440a55ba3b8ec1430843226fa6b4b0dfe289 (diff)
Merge branch 'featured_result'
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 5732ba44b..52398801e 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -138,9 +138,6 @@ def index():
for engine in result['engines']:
if engine in ['wikipedia', 'youtube', 'vimeo', 'soundcloud', 'twitter', 'stackoverflow', 'github']:
result['favicon'] = engine
- if engine in ['wikipedia', 'ddg definitions']:
- featured_results.append(result)
- results.remove(result)
if request_data.get('format') == 'json':
return Response(json.dumps({'query': query, 'results': results}), mimetype='application/json')