1
0
mirror of https://github.com/searxng/searxng.git synced 2024-10-02 17:40:18 +02:00

[fix] pep8 fix for faroo engine

This commit is contained in:
misnyo 2017-08-30 19:48:57 +02:00 committed by Adam Tauber
parent 0607b167f8
commit 20d2d4dab1

View File

@ -79,8 +79,7 @@ def response(resp):
# parse results
for result in search_res['results']:
publishedDate = None
result_json = {'url': result['url'],
'title': result['title'],
result_json = {'url': result['url'], 'title': result['title'],
'content': result['kwic']}
if result['news']:
result_json['publishedDate'] = \