mirror of
https://github.com/PaiGramTeam/StarRailDamageCal.git
synced 2024-11-27 01:55:51 +00:00
bump to 1.9.6
This commit is contained in:
parent
f732f81ee4
commit
e0b25986b1
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "starrail_damage_cal"
|
||||
version = "1.9.5"
|
||||
version = "1.9.6"
|
||||
description = "For StarRail Role Damage Cal"
|
||||
authors = [
|
||||
{name = "qwerdvd", email = "105906879+qwerdvd@users.noreply.github.com"},
|
||||
|
@ -1,4 +1,3 @@
|
||||
import json
|
||||
from pathlib import Path
|
||||
from typing import Dict, List, Tuple, Union
|
||||
|
||||
@ -375,10 +374,7 @@ 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"{char_data.avatarName}.json", "wb", encoding="UTF-8"
|
||||
) as file:
|
||||
with Path.open(path / f"{char_data.avatarName}.json", "wb") as file:
|
||||
_ = file.write(msgjson.encode(char_data))
|
||||
|
||||
return char_data, char_data.avatarName
|
||||
|
Loading…
Reference in New Issue
Block a user