Fixed issue #20

This commit is contained in:
echel0n 2014-03-28 21:41:35 -07:00
parent 32c029c3cf
commit fb85c6e50e

View file

@ -2050,11 +2050,11 @@ class TVEpisode(object):
logger.DEBUG) logger.DEBUG)
return return
related_files = postProcessor.PostProcessor(self.location, indexer=self.indexer).list_associated_files( related_files = postProcessor.PostProcessor(self.location).list_associated_files(
self.location) self.location)
if self.show.subtitles and sickbeard.SUBTITLES_DIR != '': if self.show.subtitles and sickbeard.SUBTITLES_DIR != '':
related_subs = postProcessor.PostProcessor(self.location, indexer=self.indexer).list_associated_files( related_subs = postProcessor.PostProcessor(self.location).list_associated_files(
sickbeard.SUBTITLES_DIR, subtitles_only=True) sickbeard.SUBTITLES_DIR, subtitles_only=True)
absolute_proper_subs_path = ek.ek(os.path.join, sickbeard.SUBTITLES_DIR, self.formatted_filename()) absolute_proper_subs_path = ek.ek(os.path.join, sickbeard.SUBTITLES_DIR, self.formatted_filename())