fix: Dan Heng Imbibitor Lunae

This commit is contained in:
xtaodada 2023-08-30 13:13:56 +08:00
parent 3a6c3a6c64
commit bb0248ea7f
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -40,7 +40,7 @@ async def get_all_avatar() -> List[str]:
async def fix_avatar_icon(content: Content): async def fix_avatar_icon(content: Content):
avatar = all_avatars_name.get(content.title) avatar = all_avatars_name.get(content.title.replace("·", ""))
if not avatar: if not avatar:
return return
avatar.icon = content.icon avatar.icon = content.icon