mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Fixed bug "Unknown process method" in postProcessor
This commit is contained in:
parent
fb222902c1
commit
bd84656517
1 changed files with 4 additions and 4 deletions
|
@ -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…
Reference in a new issue