mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-06 11:43:44 +08:00
🚨修正res decode错误
This commit is contained in:
parent
4b23038527
commit
e18ef5a25e
@ -14,7 +14,8 @@ with open(
|
|||||||
Path(__file__).parent / 'resource_map.json', 'r', encoding='UTF-8'
|
Path(__file__).parent / 'resource_map.json', 'r', encoding='UTF-8'
|
||||||
) as f:
|
) as f:
|
||||||
resource_map = msgjson.decode(
|
resource_map = msgjson.decode(
|
||||||
f.read(), type=Dict[str, Dict[str, Dict[str, Union[int, str]]]]
|
f.read(),
|
||||||
|
type=Dict[str, Dict[str, Dict[str, Dict[str, Union[int, str]]]]],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user