commit: e1856426e21a0ef4839365c5e49dd6a673cc7a02
parent: 8ef709ea1f86413d04051eea0876c20a48c8ae90
Author: Adam Tauber <asciimoo@gmail.com>
Date: Sun, 11 Jan 2015 01:42:55 +0100
[fix] hadle missing title
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/searx/engines/flickr-noapi.py b/searx/engines/flickr-noapi.py
@@ -73,7 +73,7 @@ def response(resp):
url = build_flickr_url(photo['owner']['id'], photo['id'])
- title = photo['title']
+ title = photo.get('title', '')
content = '<span class="photo-author">' +\
photo['owner']['username'] +\