[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

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