Skip to content

Commit dee4f14

Browse files
committed
chore: ruff format
1 parent 56ec44e commit dee4f14

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

astrbot/dashboard/routes/plugin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,9 @@ async def _is_cache_valid(self, source: RegistrySource) -> bool:
296296

297297
remote_md5 = await self._fetch_remote_md5(source.md5_url)
298298
if remote_md5 is None:
299-
logger.warning("Cannot fetch remote MD5, using cache without validation")
299+
logger.warning(
300+
"Cannot fetch remote MD5, using cache without validation"
301+
)
300302
return True # 如果无法获取远程MD5,认为缓存有效
301303

302304
is_valid = cached_md5 == remote_md5

0 commit comments

Comments
 (0)