mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-17 06:45:05 -05:00
Added error when trying to search but show info is missing
This commit is contained in:
parent
d71371cc62
commit
40bce690cb
@ -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 New Issue
Block a user