Browse Source

Fixed bug "Unknown process method" in postProcessor

tags/release_0.1.0
echel0n 11 years ago
parent
commit
bd84656517
  1. 8
      sickbeard/postProcessor.py

8
sickbeard/postProcessor.py

@ -988,16 +988,16 @@ class PostProcessor(object):
try:
# move the episode and associated files to the show dir
if self.process_method is "copy":
if self.process_method == "copy":
self._copy(self.file_path, dest_path, new_base_name, sickbeard.MOVE_ASSOCIATED_FILES,
sickbeard.USE_SUBTITLES and ep_obj.show.subtitles)
elif self.process_method is "move":
elif self.process_method == "move":
self._move(self.file_path, dest_path, new_base_name, sickbeard.MOVE_ASSOCIATED_FILES,
sickbeard.USE_SUBTITLES and ep_obj.show.subtitles)
elif self.process_method is "hardlink":
elif self.process_method == "hardlink":
self._hardlink(self.file_path, dest_path, new_base_name, sickbeard.MOVE_ASSOCIATED_FILES,
sickbeard.USE_SUBTITLES and ep_obj.show.subtitles)
elif self.process_method is "symlink":
elif self.process_method == "symlink":
self._moveAndSymlink(self.file_path, dest_path, new_base_name, sickbeard.MOVE_ASSOCIATED_FILES,
sickbeard.USE_SUBTITLES and ep_obj.show.subtitles)
else:

Loading…
Cancel
Save