From 51f691eeb221411ff6a847a256284148dc2bb92b Mon Sep 17 00:00:00 2001 From: echel0n Date: Mon, 28 Apr 2014 21:59:00 -0700 Subject: [PATCH] Fix for issue #182 --- sickbeard/tv.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sickbeard/tv.py b/sickbeard/tv.py index 5643f726..22e84c48 100644 --- a/sickbeard/tv.py +++ b/sickbeard/tv.py @@ -189,6 +189,8 @@ class TVShow(object): for curSeason in self.episodes: for curEp in self.episodes[curSeason]: myEp = self.episodes[curSeason][curEp] + if not myEp: + continue if season == myEp.scene_season and episode == myEp.scene_episode: season = myEp.season episode = myEp.episode