summaryrefslogtreecommitdiff
path: root/lib/elements
diff options
context:
space:
mode:
Diffstat (limited to 'lib/elements')
-rw-r--r--lib/elements/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elements/element.py b/lib/elements/element.py
index 5d0f8c0d..ac5cf51f 100644
--- a/lib/elements/element.py
+++ b/lib/elements/element.py
@@ -174,7 +174,7 @@ class EmbroideryElement(object):
def get_style(self, style_name, default=None):
element_style = self._get_specified_style()
style = element_style.get(style_name, default)
- if style == 'none':
+ if style in ['none', 'None']:
style = None
elif style == 'currentColor':
style = element_style(style_name)