[fix] replace the png icons by ico's, minor chnage in the html

This commit is contained in:
pw3t 2014-01-16 21:58:18 +01:00
parent a62b94e21c
commit 380b440a55
5 changed files with 0 additions and 29 deletions

View file

@ -144,9 +144,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')