This commit is contained in:
qwerdvd 2023-10-31 15:13:11 +08:00
parent f39856b2fb
commit 39a027e61f
No known key found for this signature in database
GPG Key ID: A3AF89C783404769

View File

@ -305,7 +305,7 @@ async def get_data(
char_data["equipmentInfo"] = equipment_info
if save_path:
path = save_path / str(uid)
path = save_path / uid
path.mkdir(parents=True, exist_ok=True)
with Path.open(path / f"{avatarName}.json", "w", encoding="UTF-8") as file:
json.dump(char_data, file, ensure_ascii=False)