mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-23 16:28:49 -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,14 +1824,7 @@ 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")
|
||||
showObj = sickbeard.helpers.findCertainShow(sickbeard.showList, int(show))
|
||||
|
||||
if isinstance(searchThread, sickbeard.search_queue.ManualSearchQueueItem):
|
||||
results.append({'episode': searchThread.segment.episode,
|
||||
|
Loading…
Reference in New Issue
Block a user