From 0eb41de4173db828607da705be2e70d7d6eddb86 Mon Sep 17 00:00:00 2001 From: baiqwerdvd <158065462+baiqwerdvd@users.noreply.github.com> Date: Tue, 28 May 2024 12:16:44 +0800 Subject: [PATCH] fix --- ArknightsUID/arknightsuid_gacha/gacha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArknightsUID/arknightsuid_gacha/gacha.py b/ArknightsUID/arknightsuid_gacha/gacha.py index 6a26079..c30afdb 100644 --- a/ArknightsUID/arknightsuid_gacha/gacha.py +++ b/ArknightsUID/arknightsuid_gacha/gacha.py @@ -28,7 +28,7 @@ with cur_path.joinpath("gacha_detail_table.json").open(encoding="UTF-8") as f: async def gacha(uid: str): if not (cur_path / Path(f"{uid}.json")).exists(): - with open(cur_path / "uid_data.json", "w") as f: + with open(cur_path / Path(f"{uid}.json"), "w") as f: data = PlayerDataDetail( user=PlayerData( gacha=PlayerGacha(