mirror of
https://github.com/searxng/searxng.git
synced 2025-12-24 04:30:02 +00:00
[fix] pep8 compatibilty
This commit is contained in:
@@ -88,7 +88,7 @@ def response(resp):
|
||||
for result in search_res['results']:
|
||||
if result['news']:
|
||||
# timestamp (milliseconds since 1970)
|
||||
publishedDate = datetime.datetime.fromtimestamp(result['date']/1000.0) # noqa
|
||||
publishedDate = datetime.datetime.fromtimestamp(result['date'] / 1000.0) # noqa
|
||||
|
||||
# append news result
|
||||
results.append({'url': result['url'],
|
||||
|
||||
Reference in New Issue
Block a user