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:
parent
d1d9025971
commit
ffc2833c89
@ -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 = ?",
|
||||
|
Loading…
Reference in New Issue
Block a user