Changes in symbol.py

Removed tobytes as it is already bytes
This commit is contained in:
Christoph Eder committed 2025-12-18 16:11:44 +01:00
1 parent 137dc8765e
commit af2abad1ff
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@ class Symbol:
lambda x: {
"id": x.id,
"label": x.label,
"image": base64.b64encode(x.image.tobytes()).decode("utf-8"),
"image": base64.b64encode(x.image).decode("utf-8"),
},
when_used="json",
),