diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-06-28 06:41:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-28 06:41:09 +0200 |
| commit | d46a9cc5b35a0d1488f5fde9a24d2494ce14599e (patch) | |
| tree | cb46f12abff12225ff1eec3f1b9433200e635c61 /lib/extensions/fill_to_stroke.py | |
| parent | a046c256ae1cd1ce6dc0a70a10381d3821517eea (diff) | |
fill to stroke: fix remove elements with fill and stroke (#2392)
Diffstat (limited to 'lib/extensions/fill_to_stroke.py')
| -rw-r--r-- | lib/extensions/fill_to_stroke.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/fill_to_stroke.py b/lib/extensions/fill_to_stroke.py index 5672fb69..28c1f651 100644 --- a/lib/extensions/fill_to_stroke.py +++ b/lib/extensions/fill_to_stroke.py @@ -104,7 +104,7 @@ class FillToStroke(InkstitchExtension): pass # remove empty groups for parent in set(parents): - if not parent.getchildren(): + if parent is not None and not parent.getchildren(): parent.getparent().remove(parent) def _get_high_res_polygon(self, polygon): |
