Merge pull request #964 from thsrite/main
This commit is contained in:
commit
fe5a90ac2f
@ -1059,17 +1059,10 @@ class MediaSyncDel(_PluginBase):
|
|||||||
if action_flag == "stop":
|
if action_flag == "stop":
|
||||||
self.tr.stop_torrents(torrent)
|
self.tr.stop_torrents(torrent)
|
||||||
logger.info(f"辅种:{downloader} - {torrent} 暂停")
|
logger.info(f"辅种:{downloader} - {torrent} 暂停")
|
||||||
# 删除本下载器辅种历史
|
|
||||||
if action_flag == "del":
|
|
||||||
del history
|
|
||||||
break
|
break
|
||||||
|
|
||||||
# 更新辅种历史
|
# 删除辅种历史
|
||||||
if seed_history:
|
if action_flag == "del":
|
||||||
self.save_data(key=history_key,
|
|
||||||
value=seed_history,
|
|
||||||
plugin_id=plugin_id)
|
|
||||||
else:
|
|
||||||
self.del_data(key=history_key,
|
self.del_data(key=history_key,
|
||||||
plugin_id=plugin_id)
|
plugin_id=plugin_id)
|
||||||
return handle_torrent_hashs
|
return handle_torrent_hashs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user