diff --git a/package.json b/package.json index 2b60a05..5d8cbca 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "TorrentRemover": { "name": "自动删种", "description": "自动删除下载器中的下载任务。", - "version": "1.2", + "version": "1.2.1", "icon": "delete.jpg", "author": "jxxghp", "level": 2 diff --git a/plugins/torrentremover/__init__.py b/plugins/torrentremover/__init__.py index 07205dd..c7a9b12 100644 --- a/plugins/torrentremover/__init__.py +++ b/plugins/torrentremover/__init__.py @@ -27,7 +27,7 @@ class TorrentRemover(_PluginBase): # 插件图标 plugin_icon = "delete.jpg" # 插件版本 - plugin_version = "1.2" + plugin_version = "1.2.1" # 插件作者 plugin_author = "jxxghp" # 作者主页 @@ -767,7 +767,7 @@ class TorrentRemover(_PluginBase): else: tags = [] if self._mponly: - tags.extend(settings.TORRENT_TAG) + tags.append(settings.TORRENT_TAG) # 查询种子 torrents, error_flag = downloader_obj.get_torrents(tags=tags or None) if error_flag: