1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-17 23:05:11 -05:00

Merge pull request #1379 from SiCKRAGETV/revert-1377-fix_int

Revert "Possible fix for ValueError: invalid literal for int() with base...
This commit is contained in:
Fernando 2015-02-21 00:17:18 -02:00
commit 7cfb777807

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,