commented out finished state toggle
This commit is contained in:
@@ -121,7 +121,7 @@ class Core(CorePluginBase):
|
|||||||
tid = component.get("TorrentManager").torrents[torrent_id]
|
tid = component.get("TorrentManager").torrents[torrent_id]
|
||||||
tid_status = tid.get_status(["save_path", "name"])
|
tid_status = tid.get_status(["save_path", "name"])
|
||||||
|
|
||||||
tid.is_finished = False
|
#tid.is_finished = False
|
||||||
log.info("Processing completed torrent %s", tstatus)
|
log.info("Processing completed torrent %s", tstatus)
|
||||||
# Fetch our torrent's label
|
# Fetch our torrent's label
|
||||||
labels = self.get_labels(torrent_id)
|
labels = self.get_labels(torrent_id)
|
||||||
@@ -226,7 +226,7 @@ class Core(CorePluginBase):
|
|||||||
cmd[0], cmd[1].split() + [str(fpath)], os.environ, str(dest)
|
cmd[0], cmd[1].split() + [str(fpath)], os.environ, str(dest)
|
||||||
)
|
)
|
||||||
d.addCallback(on_extract, torrent_id, fpath)
|
d.addCallback(on_extract, torrent_id, fpath)
|
||||||
tid.is_finished = True
|
#tid.is_finished = True
|
||||||
|
|
||||||
def get_labels(self, torrent_id):
|
def get_labels(self, torrent_id):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user