Private GIT

Skip to content
Snippets Groups Projects
Commit c219e7a2 authored by miigotu's avatar miigotu
Browse files

Merge pull request #192 from Amadeus-/fix-backlog-search

Fix backlog searches for episodes in season 0
parents a466c2ed b61d3be1
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ class BacklogSearcher:
logger.log(u"Seeing if we need anything from {show_name}".format(show_name=show.name), logger.DEBUG)
myDB = db.DBConnection()
sqlResults = myDB.select("SELECT status, season, episode FROM tv_episodes WHERE season > 0 AND airdate > ? AND showid = ?",
sqlResults = myDB.select("SELECT status, season, episode FROM tv_episodes WHERE airdate > ? AND showid = ?",
[fromDate.toordinal(), show.indexerid])
# check through the list of statuses to see if we want any
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment