[fix] pep8 compatibilty

This commit is contained in:
Adam Tauber 2016-01-18 12:47:31 +01:00
parent 6a158ca2d2
commit bd22e9a336
18 changed files with 30 additions and 29 deletions

View file

@ -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'],