mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 09:07:43 +00:00
Merge pull request #553 from WebSpider/dev-fix_nonexistent_show
Fix nonexistent show
This commit is contained in:
commit
e2c5f10f36
1 changed files with 6 additions and 1 deletions
|
@ -309,7 +309,12 @@ def filterSearchResults(show, results):
|
||||||
return foundResults
|
return foundResults
|
||||||
|
|
||||||
def searchProviders(queueItem, show, season, episodes, seasonSearch=False, manualSearch=False):
|
def searchProviders(queueItem, show, season, episodes, seasonSearch=False, manualSearch=False):
|
||||||
logger.log(u"Searching for stuff we need from " + show.name + " season " + str(season))
|
if show:
|
||||||
|
logger.log(u"Searching for stuff we need from " + show.name + " season " + str(season))
|
||||||
|
else:
|
||||||
|
logger.log(u"Attempting to search for stuff from nonexistent show. Failing.", logger.ERROR)
|
||||||
|
return False
|
||||||
|
|
||||||
finalResults = []
|
finalResults = []
|
||||||
didSearch = False
|
didSearch = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue