From ae25b90fa7a6817deec2237bb087d81b48c7a6ec Mon Sep 17 00:00:00 2001 From: tatarize Date: Sat, 31 Aug 2019 01:38:12 -0700 Subject: [PATCH] Minor JSON tweak, to use hexcolor. --- pyembroidery/JsonWriter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyembroidery/JsonWriter.py b/pyembroidery/JsonWriter.py index 0a60f29..76d073a 100644 --- a/pyembroidery/JsonWriter.py +++ b/pyembroidery/JsonWriter.py @@ -36,7 +36,7 @@ def write(pattern, f, settings=None): json_normal = { "threadlist": [ { - "color": thread.color, + "color": thread.hex_color(), "description": thread.description, "catalog_number": thread.catalog_number, "details": thread.details,