From 32458c619a38928f403e5924c8ba864fe7ae346c Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Wed, 19 Dec 2018 14:39:47 -0500 Subject: fix fill == none detection --- lib/extensions/params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/extensions/params.py') diff --git a/lib/extensions/params.py b/lib/extensions/params.py index 074a4288..4d04ba23 100644 --- a/lib/extensions/params.py +++ b/lib/extensions/params.py @@ -462,7 +462,7 @@ class Params(InkstitchExtension): classes = [] if not is_command(node): - if element.get_style("fill", "black") != "none": + if element.get_style("fill", "black") is not None: classes.append(AutoFill) classes.append(Fill) -- cgit v1.2.3