From 92748d16ed05d0f738ccff5f0612dcae712e051e Mon Sep 17 00:00:00 2001 From: Allen Date: Mon, 3 Jun 2024 19:53:46 +0800 Subject: [PATCH] fixbug --- plugins/downloaderhelper/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/downloaderhelper/__init__.py b/plugins/downloaderhelper/__init__.py index 1da69d7..7631b7b 100644 --- a/plugins/downloaderhelper/__init__.py +++ b/plugins/downloaderhelper/__init__.py @@ -1862,7 +1862,7 @@ class DownloaderHelper(_PluginBase): torrent.add_tags(tags=add_tags) logger.info(f"[QB]单个自动标签成功: hash = {hash_str}, name = {torrent.get('name')}") # Flush 标签 - self.__flush_torrent_tags_for_qbittorrent(torrent=torrent, tags=add_tags) + self.__flush_torrent_tags_for_qbittorrent(torrent=torrent, remove_tags=remove_tags, add_tags=add_tags) return True def __flush_torrent_tags_for_qbittorrent(self, torrent: TorrentDictionary, remove_tags: List[str], add_tags: List[str]):