mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-05 03:23:45 +08:00
fix
This commit is contained in:
parent
bc308ba716
commit
0eb41de417
@ -28,7 +28,7 @@ with cur_path.joinpath("gacha_detail_table.json").open(encoding="UTF-8") as f:
|
|||||||
|
|
||||||
async def gacha(uid: str):
|
async def gacha(uid: str):
|
||||||
if not (cur_path / Path(f"{uid}.json")).exists():
|
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(
|
data = PlayerDataDetail(
|
||||||
user=PlayerData(
|
user=PlayerData(
|
||||||
gacha=PlayerGacha(
|
gacha=PlayerGacha(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user