From f307644a8cbaa3acc99c611f68c1a9088d738693 Mon Sep 17 00:00:00 2001 From: Redume Date: Mon, 3 Mar 2025 10:47:56 +0300 Subject: [PATCH] fix(chart): fixed an error with getting a config item --- chart/utils/load_config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chart/utils/load_config.py b/chart/utils/load_config.py index 746e106..197b974 100644 --- a/chart/utils/load_config.py +++ b/chart/utils/load_config.py @@ -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) + )