Changes in symbol.py

Trying to properly serialise array
This commit is contained in:
Christoph Eder committed 2025-12-13 11:59:18 +01:00
1 parent c1dcf4b055
commit 67e10c6df4
1 file changed
+2 -2
+2 -2
View File
@@ -45,8 +45,8 @@ class Symbol:
lambda x: {
'id': x.id,
'label': x.label,
'image': x.image
'image': x.image.tolist() if hasattr(x.image, 'tolist') else list(x.image)
},
when_used='json',
),
)
)