From a0f912ffbe21bacf4a2e823b569f735a5093c34c Mon Sep 17 00:00:00 2001 From: InfinityPacer <160988576+InfinityPacer@users.noreply.github.com> Date: Sun, 17 Nov 2024 15:43:06 +0800 Subject: [PATCH] chore(qbittorrent): update qbittorrent-api to version 2024.11.69 --- app/modules/qbittorrent/qbittorrent.py | 2 +- requirements.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/modules/qbittorrent/qbittorrent.py b/app/modules/qbittorrent/qbittorrent.py index 3ee9be4e8..fdd4b8bf5 100644 --- a/app/modules/qbittorrent/qbittorrent.py +++ b/app/modules/qbittorrent/qbittorrent.py @@ -77,7 +77,7 @@ def __login_qbittorrent(self) -> Optional[Client]: try: qbt.auth_log_in() except (qbittorrentapi.LoginFailed, qbittorrentapi.Forbidden403Error) as e: - logger.error(f"qbittorrent 登录失败:{str(e)}") + logger.error(f"qbittorrent 登录失败:{str(e).strip() or '请检查用户名和密码是否正确'}") return None except Exception as e: stack_trace = "".join(traceback.format_exception(None, e, e.__traceback__))[:2000] diff --git a/requirements.in b/requirements.in index 34cb384f9..2d6cb3fa4 100644 --- a/requirements.in +++ b/requirements.in @@ -23,7 +23,7 @@ APScheduler~=3.10.1 cryptography~=43.0.0 pytz~=2023.3 pycryptodome~=3.20.0 -qbittorrent-api==2024.9.67 +qbittorrent-api==2024.11.69 plexapi~=4.15.16 transmission-rpc~=4.3.0 Jinja2~=3.1.4