This can still be append

This commit is contained in:
kijai
2025-06-06 12:10:42 +03:00
parent a290f75b5e
commit 87a980f6bf
+1 -1
View File
@@ -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]: