mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-17 23:05:11 -05:00
Revert "Possible fix for ValueError: invalid literal for int() with base 10: 'un..."
This commit is contained in:
parent
dc6e4c6816
commit
61d1e6ff6e
@ -1824,15 +1824,8 @@ class Home(WebRoot):
|
||||
def getManualSearchStatus(self, show=None, season=None):
|
||||
def getEpisodes(searchThread, searchstatus):
|
||||
results = []
|
||||
|
||||
if show is None:
|
||||
return self._genericMessage("Error", "Invalid show ID")
|
||||
else:
|
||||
showObj = sickbeard.helpers.findCertainShow(sickbeard.showList, int(show))
|
||||
|
||||
if showObj is None:
|
||||
return self._genericMessage("Error", "Unable to find the specified show")
|
||||
|
||||
if isinstance(searchThread, sickbeard.search_queue.ManualSearchQueueItem):
|
||||
results.append({'episode': searchThread.segment.episode,
|
||||
'episodeindexid': searchThread.segment.indexerid,
|
||||
|
Loading…
Reference in New Issue
Block a user