diff --git a/scripts/json_parser.py b/scripts/json_parser.py index f7d607a1..e172ba4b 100644 --- a/scripts/json_parser.py +++ b/scripts/json_parser.py @@ -68,7 +68,8 @@ def fix_json(json_str: str, schema: str, debug=False) -> str: print(f"Fixed JSON: {result_string}") print("----------- END OF FIX ATTEMPT ----------------") try: - return json.loads(result_string) + json.loads(result_string) # just check the validity + return result_string except: # Get the call stack: # import traceback