|
|
@ -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: |
|
|
|