mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Also trap if data is completely lacking
This commit is contained in:
parent
d1d9025971
commit
ffc2833c89
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue