Merge remote-tracking branch 'YipYup/WebMosher-patch-for-issue-2485' into develop

This commit is contained in:
rembo10
2016-02-17 12:15:27 +00:00

View File

@@ -116,7 +116,7 @@ class Cache(object):
return None
for image in images:
if image['size'] == 'medium':
if image['size'] == 'medium' and '#text' in image:
thumb_url = image['#text']
break