mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
🔧 3.0角色部分适配
This commit is contained in:
parent
e5434d50cf
commit
5e2cceccb5
@ -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'下载<m>{resource.split("/")[-1]}</m>时<r>出错: {e}</r>')
|
||||
|
Loading…
Reference in New Issue
Block a user