mirror of
https://github.com/PaiGramTeam/StarRailDamageCal.git
synced 2024-11-16 04:45:43 +00:00
123
This commit is contained in:
parent
f39856b2fb
commit
39a027e61f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user