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

Update generic.py

Fix for invalid key when looking for _banners
This commit is contained in:
echel0n 2014-03-18 16:38:39 -07:00
parent aa8667106f
commit 11f9a891f0

View File

@ -800,7 +800,10 @@ class GenericMetadata():
return result
# if we have no season banners then just finish
if getattr(indexer_show_obj, '_banners', None) is None or 'season' not in indexer_show_obj['_banners'] or 'season' not in indexer_show_obj['_banners']['season']:
if getattr(indexer_show_obj, '_banners', None) is None:
return result
if 'season' not in indexer_show_obj['_banners'] or 'season' not in indexer_show_obj['_banners']['season']:
return result
# Give us just the normal poster-style season graphics