diff --git a/app/modules/qbittorrent/qbittorrent.py b/app/modules/qbittorrent/qbittorrent.py index 3ee9be4e..fdd4b8bf 100644 --- a/app/modules/qbittorrent/qbittorrent.py +++ b/app/modules/qbittorrent/qbittorrent.py @@ -77,7 +77,7 @@ class Qbittorrent: 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 34cb384f..2d6cb3fa 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