mirror of
https://github.com/searxng/searxng.git
synced 2025-08-30 07:04:53 +02:00
[fix] replace the png icons by ico's, minor chnage in the html
This commit is contained in:
parent
a62b94e21c
commit
380b440a55
5 changed files with 0 additions and 29 deletions
|
@ -18,9 +18,3 @@ def response(resp):
|
|||
return [{'url': url + 'wiki/' + quote(result['title'].replace(' ', '_').encode('utf-8')),
|
||||
'title': result['title']} for result in res[:int(number_of_results)]]
|
||||
|
||||
if not len(res):
|
||||
return results
|
||||
for result in res[:int(number_of_results)]:
|
||||
results.append({'url': url + 'wiki/' + quote(result['title'].replace(' ', '_').encode('utf-8')), 'title': result['title'], 'favicon':'wikipedia'})
|
||||
return results
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue