Skip to content

Commit 2df482d

Browse files
authored
Merge pull request #82 from EmbroidePy/tatarizejson-hex
Minor JSON tweak, to use hexcolor.
2 parents aa4cf5d + ae25b90 commit 2df482d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyembroidery/JsonWriter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def write(pattern, f, settings=None):
3636
json_normal = {
3737
"threadlist": [
3838
{
39-
"color": thread.color,
39+
"color": thread.hex_color(),
4040
"description": thread.description,
4141
"catalog_number": thread.catalog_number,
4242
"details": thread.details,

0 commit comments

Comments
 (0)