1
0
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:
Fernando 2015-02-21 00:17:02 -02:00
parent dc6e4c6816
commit 61d1e6ff6e

View File

@ -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,