mirror of
https://github.com/moparisthebest/SickRage
synced 2025-03-03 01:52:02 -05:00
Fixed bug "Unknown process method" in postProcessor
This commit is contained in:
parent
fb222902c1
commit
bd84656517
@ -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…
x
Reference in New Issue
Block a user