Skip to content

Commit

Permalink
Revert "Allow torrent client move when process_method is 'copy' (#8928)…
Browse files Browse the repository at this point in the history
…" (#8936)

This reverts commit 81123f7.
  • Loading branch information
medariox authored Dec 29, 2020
1 parent 81123f7 commit 1c1d327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion medusa/post_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, [])
Expand Down
2 changes: 1 addition & 1 deletion medusa/process_tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1c1d327

Please sign in to comment.