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

Also trap if data is completely lacking

This commit is contained in:
Nils Vogels 2014-05-05 01:12:47 +02:00
parent d1d9025971
commit ffc2833c89

View File

@ -184,6 +184,9 @@ class ProperFinder():
logger.DEBUG)
if curProper.airdate:
airdate = curProper.airdate.toordinal()
else:
airdate = None
myDB = db.DBConnection()
sql_result = myDB.select(
"SELECT season, episode FROM tv_episodes WHERE showid = ? and indexer = ? and airdate = ?",