Fix syntax

This commit is contained in:
M307 (Mac) 2023-02-17 01:25:34 +07:00
parent e7b76bc58d
commit e8a04e3f51

View File

@ -34,7 +34,7 @@ async def merge_raw_data(
cache_data["playerInfo"]["showAvatarInfoList"], cache_data["playerInfo"]["showAvatarInfoList"],
) )
if "avatarInfoList" in cache_data: if "avatarInfoList" in cache_data:
new_data.setdefault("avatarInfoList", []) new_data.setdefault("avatarInfoList", [])
await combine_lists( await combine_lists(
new_data["avatarInfoList"], cache_data["avatarInfoList"] new_data["avatarInfoList"], cache_data["avatarInfoList"]