From dee4f14a0af857164e4bd6af71121dcce6e84c39 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sat, 2 May 2026 15:02:06 +0800 Subject: [PATCH] chore: ruff format --- astrbot/dashboard/routes/plugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/astrbot/dashboard/routes/plugin.py b/astrbot/dashboard/routes/plugin.py index fbb2ede03..f835a2ad6 100644 --- a/astrbot/dashboard/routes/plugin.py +++ b/astrbot/dashboard/routes/plugin.py @@ -296,7 +296,9 @@ class PluginRoute(Route): remote_md5 = await self._fetch_remote_md5(source.md5_url) if remote_md5 is None: - logger.warning("Cannot fetch remote MD5, using cache without validation") + logger.warning( + "Cannot fetch remote MD5, using cache without validation" + ) return True # 如果无法获取远程MD5,认为缓存有效 is_valid = cached_md5 == remote_md5