diff --git a/scripts/json_parser.py b/scripts/json_parser.py index 11ff9ed2..763a4789 100644 --- a/scripts/json_parser.py +++ b/scripts/json_parser.py @@ -67,7 +67,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