1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01:00

[fix] hadle missing title

This commit is contained in:
Adam Tauber 2015-01-11 01:42:55 +01:00
parent 8ef709ea1f
commit e1856426e2

View File

@ -73,7 +73,7 @@ def response(resp):
url = build_flickr_url(photo['owner']['id'], photo['id']) url = build_flickr_url(photo['owner']['id'], photo['id'])
title = photo['title'] title = photo.get('title', '')
content = '<span class="photo-author">' +\ content = '<span class="photo-author">' +\
photo['owner']['username'] +\ photo['owner']['username'] +\