diff --git a/starrail_damage_cal/to_data.py b/starrail_damage_cal/to_data.py index 594bb3e..d755466 100644 --- a/starrail_damage_cal/to_data.py +++ b/starrail_damage_cal/to_data.py @@ -307,7 +307,6 @@ async def get_data( if save_path: path = save_path / str(uid) path.mkdir(parents=True, exist_ok=True) - 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)