From 23239e0a5d7b112c939f781d15f65c7a3f3b679a Mon Sep 17 00:00:00 2001 From: echel0n Date: Wed, 9 Jul 2014 00:33:44 -0700 Subject: [PATCH] NextEpisode sets episodes that dont return a next air date to todays date to help improve load times for home page. --- sickbeard/tv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/tv.py b/sickbeard/tv.py index 0d475d8c..8b3e483f 100644 --- a/sickbeard/tv.py +++ b/sickbeard/tv.py @@ -988,7 +988,7 @@ class TVShow(object): if sqlResults == None or len(sqlResults) == 0: logger.log(str(self.indexerid) + u": No episode found... need to implement a show status", logger.DEBUG) - return None + self.nextaired = curDate else: logger.log(str(self.indexerid) + u": Found episode " + str(sqlResults[0]["season"]) + "x" + str( sqlResults[0]["episode"]), logger.DEBUG)