mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-05 03:03:45 +08:00
写错了qwq
This commit is contained in:
parent
b84bc30165
commit
b04f0e34db
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user