mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-20 10:35:32 +01:00
Resolve image caused uncaught exception.
Implement Webmoshers ( https://github.com/webmosher ) fix for issue #2485 per https://github.com/rembo10/headphones/issues/2485#issuecomment-180047097
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user