diff --git a/LittlePaimon/utils/tool.py b/LittlePaimon/utils/tool.py index 1d534de..642f629 100644 --- a/LittlePaimon/utils/tool.py +++ b/LittlePaimon/utils/tool.py @@ -59,7 +59,7 @@ async def check_resource(): file_path.unlink() flag = True try: - await aiorequests.download(url=f'http://img.genshin.cherishmoon.fun/resources/{resource}', save_path=file_path) + await aiorequests.download(url=f'http://img.genshin.cherishmoon.fun/resources/{resource["path"]}', save_path=file_path) await asyncio.sleep(0.5) except Exception as e: logger.warning('资源检查', f'下载{resource.split("/")[-1]}出错: {e}')