diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-03-22 17:43:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-22 17:43:50 +0100 |
| commit | 40405edfe1ab9735e33fd705b090dc467983611f (patch) | |
| tree | 1c475c7ab627a9959327fef8cba69815a5739397 /lib/extensions/stroke_to_lpe_satin.py | |
| parent | ee14e4e28aed2abcfefe05980f7f35ace8634a1c (diff) | |
parent.remove -> delete (#3600)
Diffstat (limited to 'lib/extensions/stroke_to_lpe_satin.py')
| -rw-r--r-- | lib/extensions/stroke_to_lpe_satin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/stroke_to_lpe_satin.py b/lib/extensions/stroke_to_lpe_satin.py index 3c0ed017..6a6a846f 100644 --- a/lib/extensions/stroke_to_lpe_satin.py +++ b/lib/extensions/stroke_to_lpe_satin.py @@ -156,7 +156,7 @@ class StrokeToLpeSatin(InkstitchExtension): old_effect_element.set('pattern', pattern_path) old_effect_element.set('copytype', copy_type) else: - old_effect_element.getparent().remove(old_effect_element) + old_effect_element.delete() # update path effect link current_effects[inkstitch_effect_position] = lpe.get_id(as_url=1) |
