NextEpisode sets episodes that dont return a next air date to todays date to help improve load times for home page.

This commit is contained in:
echel0n 2014-07-09 00:33:44 -07:00
parent 5237e70fb3
commit 23239e0a5d

View file

@ -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)