mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 21:53:37 +00:00
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:
parent
5237e70fb3
commit
23239e0a5d
1 changed files with 1 additions and 1 deletions
|
@ -988,7 +988,7 @@ class TVShow(object):
|
||||||
if sqlResults == None or len(sqlResults) == 0:
|
if sqlResults == None or len(sqlResults) == 0:
|
||||||
logger.log(str(self.indexerid) + u": No episode found... need to implement a show status",
|
logger.log(str(self.indexerid) + u": No episode found... need to implement a show status",
|
||||||
logger.DEBUG)
|
logger.DEBUG)
|
||||||
return None
|
self.nextaired = curDate
|
||||||
else:
|
else:
|
||||||
logger.log(str(self.indexerid) + u": Found episode " + str(sqlResults[0]["season"]) + "x" + str(
|
logger.log(str(self.indexerid) + u": Found episode " + str(sqlResults[0]["season"]) + "x" + str(
|
||||||
sqlResults[0]["episode"]), logger.DEBUG)
|
sqlResults[0]["episode"]), logger.DEBUG)
|
||||||
|
|
Loading…
Reference in a new issue