From 99f30b28d1bcb18451bbb3e9c1a8d03e5e7a068a Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 7 Jul 2023 07:11:29 +0800 Subject: [PATCH] fix downloading --- 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 c76309fa..b0b7f12f 100644 --- a/app/modules/qbittorrent/__init__.py +++ b/app/modules/qbittorrent/__init__.py @@ -141,7 +141,7 @@ class QbittorrentModule(_ModuleBase): season_episode=meta.season_episode, progress=torrent.get('progress'), size=torrent.get('total_size'), - state="downloading" if torrent.get('state') == "downloading" else "paused", + state="paused" if torrent.get('state') == "paused" else "downloading", dlspeed=StringUtils.str_filesize(torrent.get('dlspeed')), upspeed=StringUtils.str_filesize(torrent.get('upspeed')), ))