1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Fix for airdate issues during proper search

This commit is contained in:
echel0n 2014-05-04 05:20:39 -07:00
parent 99da47464d
commit b59c8fd1ec

View File

@ -182,7 +182,7 @@ class ProperFinder():
logger.log(
u"Looks like this is an air-by-date or sports show, attempting to convert the date to season/episode",
logger.DEBUG)
airdate = curProper.episode.toordinal()
airdate = curProper.airdate.toordinal()
myDB = db.DBConnection()
sql_result = myDB.select(
"SELECT season, episode FROM tv_episodes WHERE showid = ? and indexer = ? and airdate = ?",