1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-04 15:12:23 -05:00
This commit is contained in:
echel0n 2014-12-23 22:38:15 -08:00
parent 68e4acaf37
commit 972ee14216

View File

@ -1585,7 +1585,12 @@ class TVEpisode(object):
self.dirty = False
return True
def loadFromIndexer(self, season, episode, cache=True, tvapi=None, cachedSeason=None):
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
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)