We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56ec44e commit dee4f14Copy full SHA for dee4f14
1 file changed
astrbot/dashboard/routes/plugin.py
@@ -296,7 +296,9 @@ async def _is_cache_valid(self, source: RegistrySource) -> bool:
296
297
remote_md5 = await self._fetch_remote_md5(source.md5_url)
298
if remote_md5 is None:
299
- logger.warning("Cannot fetch remote MD5, using cache without validation")
+ logger.warning(
300
+ "Cannot fetch remote MD5, using cache without validation"
301
+ )
302
return True # 如果无法获取远程MD5,认为缓存有效
303
304
is_valid = cached_md5 == remote_md5
0 commit comments