1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fix for index out of range issues

This commit is contained in:
echel0n 2014-04-29 15:33:00 -07:00
parent 5ef7a0fb30
commit 2893b3331e

View File

@ -965,6 +965,7 @@ class GenericMetadata():
return None
images = result.images()
if len(images) > 0:
# get backdrop urls
if backdrop:
rel_path = images['backdrops'][0]['file_path']