From 61d1e6ff6e75db198e655bb69ac4174d1fc06862 Mon Sep 17 00:00:00 2001 From: Fernando Date: Sat, 21 Feb 2015 00:17:02 -0200 Subject: [PATCH] Revert "Possible fix for ValueError: invalid literal for int() with base 10: 'un..." --- sickbeard/webserve.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index bdf75f73..96fcd098 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -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,