forked from zaclys/searxng
[fix] hadle missing title
This commit is contained in:
parent
8ef709ea1f
commit
e1856426e2
|
@ -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'] +\
|
||||||
|
|
Loading…
Reference in New Issue