写错了qwq

This commit is contained in:
qwerdvd 2023-09-30 19:47:23 +08:00
parent b84bc30165
commit b04f0e34db

View File

@ -20,5 +20,5 @@ async def get_char_card_info(uid: str) -> MihomoData:
path = PLAYER_PATH / str(uid)
path.mkdir(parents=True, exist_ok=True)
with Path.open(path / f'{uid!s}.json', 'w') as file:
file.write(req.json())
file.write(req.text)
return convert(req.json(), type=MihomoData)