[fix] hadle missing title

pull/1/head
Adam Tauber 10 years ago
parent 8ef709ea1f
commit e1856426e2

@ -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'] +\

Loading…
Cancel
Save