chore: ruff format

This commit is contained in:
Soulter
2026-05-02 15:02:06 +08:00
parent 56ec44eb07
commit dee4f14a0a
+3 -1
View File
@@ -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