diff --git a/ATI/nodes.py b/ATI/nodes.py index 6b94355..ceb123d 100644 --- a/ATI/nodes.py +++ b/ATI/nodes.py @@ -116,7 +116,7 @@ def parse_json_tracks(tracks): # If tracks is a list of strings, parse each one for track_str in tracks: parsed = json.loads(track_str.replace("'", '"')) - tracks_data.extend(parsed) + tracks_data.append(parsed) # Check if we have a single track (dict with x,y) or a list of tracks if tracks_data and isinstance(tracks_data[0], dict) and 'x' in tracks_data[0]: