Merge pull request #481 from thsrite/main

fix 删除辅种bug
This commit is contained in:
jxxghp
2023-09-06 20:07:42 +08:00
committed by GitHub

View File

@ -932,9 +932,9 @@ class MediaSyncDel(_PluginBase):
torrents = [torrents]
# 删除辅种历史中与本下载器相同的辅种记录
if int(downloader) == download:
if str(downloader) == str(download):
for torrent in torrents:
if download == "qbittorrent":
if str(download) == "qbittorrent":
# 删除辅种
if action_flag == "del":
logger.info(f"删除辅种:{downloader} - {torrent}")