[fix] hadle missing title

This commit is contained in:
Adam Tauber 2015-01-11 01:42:55 +01:00
parent 8ef709ea1f
commit e1856426e2
1 changed files with 1 additions and 1 deletions

View File

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