🚨修正res decode错误

This commit is contained in:
qwerdvd 2023-05-17 15:10:55 +08:00
parent 4b23038527
commit e18ef5a25e

View File

@ -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]]]]],
) )