From e3cb9eb8af681b39e2026c37456abf69d7e969a2 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Thu, 12 Feb 2026 13:56:33 +0800 Subject: [PATCH] chore: ruff format --- astrbot/core/utils/network_utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/astrbot/core/utils/network_utils.py b/astrbot/core/utils/network_utils.py index 7c0f1304..727f3762 100644 --- a/astrbot/core/utils/network_utils.py +++ b/astrbot/core/utils/network_utils.py @@ -77,9 +77,7 @@ def log_connection_failure( f"代理地址: {effective_proxy},错误: {error}" ) else: - logger.error( - f"[{provider_label}] 网络连接失败 ({error_type})。错误: {error}" - ) + logger.error(f"[{provider_label}] 网络连接失败 ({error_type})。错误: {error}") def create_proxy_client(