summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2021-07-21 17:16:17 +0200
committerGitHub <noreply@github.com>2021-07-21 17:16:17 +0200
commitc5b78273456836d328945b546dc5f14213488e5f (patch)
tree44c85cc22e137645b57eb9126b13ec987a074069 /lib
parentfbc90faa8798c5ae53c9628282918014ac329f8a (diff)
empty style issue (#1280)
Diffstat (limited to 'lib')
-rw-r--r--lib/extensions/break_apart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/break_apart.py b/lib/extensions/break_apart.py
index c2eb02d4..c645c7a1 100644
--- a/lib/extensions/break_apart.py
+++ b/lib/extensions/break_apart.py
@@ -141,7 +141,7 @@ class BreakApart(InkstitchExtension):
el = copy(element.node)
# Set fill-rule to evenodd
- style = el.get('style', '').split(';')
+ style = el.get('style', ' ').split(';')
style = [s for s in style if not s.startswith('fill-rule')]
style.append('fill-rule:evenodd;')
style = ';'.join(style)