Browse Source

Fix for airdate issues during proper search

tags/release_0.1.0
echel0n 11 years ago
parent
commit
b59c8fd1ec
  1. 2
      sickbeard/properFinder.py

2
sickbeard/properFinder.py

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

Loading…
Cancel
Save