From fc25d92e9300a48fd2e90ad0e03f02794e6774e1 Mon Sep 17 00:00:00 2001 From: AcidUK Date: Fri, 3 Jan 2020 17:32:59 +0000 Subject: [PATCH] commented out finished state toggle --- deluge_simpleextractor/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge_simpleextractor/core.py b/deluge_simpleextractor/core.py index fa9fb43..a5fa1d5 100644 --- a/deluge_simpleextractor/core.py +++ b/deluge_simpleextractor/core.py @@ -121,7 +121,7 @@ class Core(CorePluginBase): tid = component.get("TorrentManager").torrents[torrent_id] tid_status = tid.get_status(["save_path", "name"]) - tid.is_finished = False + #tid.is_finished = False log.info("Processing completed torrent %s", tstatus) # Fetch our torrent's label labels = self.get_labels(torrent_id) @@ -226,7 +226,7 @@ class Core(CorePluginBase): cmd[0], cmd[1].split() + [str(fpath)], os.environ, str(dest) ) d.addCallback(on_extract, torrent_id, fpath) - tid.is_finished = True + #tid.is_finished = True def get_labels(self, torrent_id): """