fix 删除辅种bug

This commit is contained in:
thsrite
2023-09-06 20:05:29 +08:00
parent f75abb27b6
commit 452161f1b8

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}")