From 035b4b06085ef422cfa458812aed14bf9b6e63cc Mon Sep 17 00:00:00 2001 From: falling Date: Thu, 1 Feb 2024 12:03:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E5=9C=A8=E4=B8=8B=E8=BD=BD=E7=9A=84?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=8A=B6=E6=80=81=E6=9B=B4=E6=96=B0?= 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 e58440b4..5c26ee85 100644 --- a/app/modules/qbittorrent/__init__.py +++ b/app/modules/qbittorrent/__init__.py @@ -206,7 +206,7 @@ class QbittorrentModule(_ModuleBase): season_episode=meta.season_episode, progress=torrent.get('progress') * 100, size=torrent.get('total_size'), - state="paused" if torrent.get('state') == "paused" else "downloading", + state="paused" if torrent.get('state') in ("paused", "pausedDL") else "downloading", dlspeed=StringUtils.str_filesize(torrent.get('dlspeed')), upspeed=StringUtils.str_filesize(torrent.get('upspeed')), left_time=StringUtils.str_secends(