🐛 修复远古圣山的logo下载问题

This commit is contained in:
KimigaiiWuyi 2025-04-12 04:37:05 +08:00
parent 5e1a6c3ff6
commit 67b80f5c02

View File

@ -255,6 +255,10 @@ async def _draw_explore(raw_data: IndexData):
)
for index, world in enumerate(worlds):
if world['name'] == '远古圣山':
icon_ = 'community-game-records/images/world-logo-16.1c751ac9.png'
world['icon'] = f'https://webstatic.mihoyo.com/app/{icon_}'
icon = await get_image(world['icon'], ICON_PATH)
icon = icon.resize((150, 150)).convert('RGBA')