From 47395ea51a6556480dcaefb807515a5d3aa289b2 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 8 Jun 2023 21:55:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=5F=5Finit=5F=5F.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/modules/qbittorrent/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/qbittorrent/__init__.py b/app/modules/qbittorrent/__init__.py index 41ce8b4a..21f74245 100644 --- a/app/modules/qbittorrent/__init__.py +++ b/app/modules/qbittorrent/__init__.py @@ -92,7 +92,7 @@ class QbittorrentModule(_ModuleBase): :return: 下载器中符合状态的种子列表 """ if status == TorrentStatus.TRANSFER: - torrents = self.qbittorrent.get_transfer_torrents(tag=settings.TORRENT_TAG) + torrents = self.qbittorrent.get_transfer_torrents(tag=settings.TORRENT_TAG or None) else: return None return torrents