Commit 69e82f40 authored by echel0n's avatar echel0n

Fixed #SICKRAGE-APP-4BS - not enough values to unpack (expected 2, got 1)...

Fixed #SICKRAGE-APP-4BS - not enough values to unpack (expected 2, got 1) error when trying to retrieve scene exceptions by season
parent 2f710baf
......@@ -1303,6 +1303,8 @@ class TVShow(object):
def get_scene_exceptions_by_season(self, season=-1):
scene_exceptions = []
for scene_exception in self.scene_exceptions:
if not len(scene_exception) == 2:
scene_name, scene_season = scene_exception.split('|')
if season == scene_season:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment