From 452161f1b8f5d27d9759503f984cecb20b43679e Mon Sep 17 00:00:00 2001 From: thsrite Date: Wed, 6 Sep 2023 20:05:29 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=88=A0=E9=99=A4=E8=BE=85=E7=A7=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/plugins/mediasyncdel/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/plugins/mediasyncdel/__init__.py b/app/plugins/mediasyncdel/__init__.py index 190c630a..02092ec3 100644 --- a/app/plugins/mediasyncdel/__init__.py +++ b/app/plugins/mediasyncdel/__init__.py @@ -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}")