fix(chart): fixed an error with getting a config item

This commit is contained in:
Данил 2025-03-03 10:47:56 +03:00
parent f4475ae466
commit f307644a8c

View file

@ -15,4 +15,6 @@ def load_config(file_path: str) -> dict:
"""
with open(file_path, 'r', encoding='utf-8') as file:
hjson_data = hjson.load(file)
return json.dumps(hjson_data, indent=4)
return json.loads(
json.dumps(hjson_data, indent=4)
)