From bd84656517c34a215f40e016aa7be29f9c7e2c95 Mon Sep 17 00:00:00 2001 From: echel0n Date: Wed, 2 Apr 2014 05:09:53 -0700 Subject: [PATCH] Fixed bug "Unknown process method" in postProcessor --- sickbeard/postProcessor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sickbeard/postProcessor.py b/sickbeard/postProcessor.py index b64bfa95..6d1574c4 100644 --- a/sickbeard/postProcessor.py +++ b/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: