mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-06 19:38:01 -05:00
Fix for sickragetv/sickrage-issues#256
This commit is contained in:
parent
c71085ab38
commit
68e4acaf37
@ -624,6 +624,8 @@ class PostProcessor(object):
|
||||
# now that we've figured out which episode this file is just load it manually
|
||||
try:
|
||||
curEp = show.getEpisode(season, cur_episode)
|
||||
if not curEp:
|
||||
raise exceptions.EpisodeNotFoundException()
|
||||
except exceptions.EpisodeNotFoundException, e:
|
||||
self._log(u"Unable to create episode: " + ex(e), logger.DEBUG)
|
||||
raise exceptions.PostProcessingFailed()
|
||||
|
@ -1585,12 +1585,7 @@ class TVEpisode(object):
|
||||
self.dirty = False
|
||||
return True
|
||||
|
||||
def loadFromIndexer(self, season=None, episode=None, cache=True, tvapi=None, cachedSeason=None):
|
||||
|
||||
if season is None:
|
||||
season = self.season
|
||||
if episode is None:
|
||||
episode = self.episode
|
||||
def loadFromIndexer(self, season, episode, cache=True, tvapi=None, cachedSeason=None):
|
||||
|
||||
logger.log(str(self.show.indexerid) + u": Loading episode details from " + sickbeard.indexerApi(
|
||||
self.show.indexer).name + " for episode " + str(season) + "x" + str(episode), logger.DEBUG)
|
||||
|
Loading…
Reference in New Issue
Block a user