mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Corrected a sqlite syntax error
This commit is contained in:
parent
1195e07f7b
commit
0830de89cd
1 changed files with 2 additions and 2 deletions
|
@ -55,10 +55,10 @@ class DailySearcher():
|
|||
logger.log(u"Checking to see if any shows have wanted episodes available for the last week ...")
|
||||
|
||||
fromDate = datetime.date.today() - datetime.timedelta(weeks=1)
|
||||
toDate = datetime.date.today()
|
||||
toDate = datetime.date.today() + datetime.timedelta(days=1)
|
||||
|
||||
myDB = db.DBConnection()
|
||||
sqlResults = myDB.select("SELECT * FROM tv_episodes WHERE status in (?,?) AND airdate >= ? AND airdate =< ?",
|
||||
sqlResults = myDB.select("SELECT * FROM tv_episodes WHERE status in (?,?) AND airdate >= ? AND airdate < ?",
|
||||
[common.UNAIRED, common.WANTED, fromDate.toordinal(), toDate.toordinal()])
|
||||
|
||||
todaysEps = {}
|
||||
|
|
Loading…
Reference in a new issue