From 1c1d3279ea1c3bb891b8581671e21543aea00c8c Mon Sep 17 00:00:00 2001 From: Dario Date: Tue, 29 Dec 2020 16:52:00 +0100 Subject: [PATCH] Revert "Allow torrent client move when process_method is 'copy' (#8928)" (#8936) This reverts commit 81123f7bb9fa3791f01e3ec712470acfc112526a. --- medusa/post_processor.py | 2 +- medusa/process_tv.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/medusa/post_processor.py b/medusa/post_processor.py index 65be44e86e..f88768c328 100644 --- a/medusa/post_processor.py +++ b/medusa/post_processor.py @@ -1313,7 +1313,7 @@ def process(self): self._run_extra_scripts(ep_obj) if not self.nzb_name and all([app.USE_TORRENTS, app.TORRENT_SEED_LOCATION, - self.process_method in ('hardlink', 'symlink', 'reflink', 'keeplink', 'copy')]): + self.process_method in ('hardlink', 'symlink', 'reflink', 'keeplink')]): # Store self.info_hash and self.release_name so later we can remove from client if setting is enabled if self.info_hash: existing_release_names = app.RECENTLY_POSTPROCESSED.get(self.info_hash, []) diff --git a/medusa/process_tv.py b/medusa/process_tv.py index 12f7f44b10..a542f3a161 100644 --- a/medusa/process_tv.py +++ b/medusa/process_tv.py @@ -213,7 +213,7 @@ def process(self, resource_name=None, force=False, is_priority=None, delete_on=F self.log_and_output('Missed file: {missed_file}', level=logging.WARNING, **{'missed_file': missed_file}) if all([app.USE_TORRENTS, app.TORRENT_SEED_LOCATION, - self.process_method in ('hardlink', 'symlink', 'reflink', 'copy')]): + self.process_method in ('hardlink', 'symlink', 'reflink')]): for info_hash, release_names in list(iteritems(app.RECENTLY_POSTPROCESSED)): if self.move_torrent(info_hash, release_names): app.RECENTLY_POSTPROCESSED.pop(info_hash, None)