mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 09:07:43 +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)
|
logger.DEBUG)
|
||||||
if curProper.airdate:
|
if curProper.airdate:
|
||||||
airdate = curProper.airdate.toordinal()
|
airdate = curProper.airdate.toordinal()
|
||||||
|
else:
|
||||||
|
airdate = None
|
||||||
|
|
||||||
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…
Reference in a new issue