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/batch_lettering.py | |
| parent | ee14e4e28aed2abcfefe05980f7f35ace8634a1c (diff) | |
parent.remove -> delete (#3600)
Diffstat (limited to 'lib/extensions/batch_lettering.py')
| -rw-r--r-- | lib/extensions/batch_lettering.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extensions/batch_lettering.py b/lib/extensions/batch_lettering.py index 44ae7569..e595af24 100644 --- a/lib/extensions/batch_lettering.py +++ b/lib/extensions/batch_lettering.py @@ -163,7 +163,7 @@ class BatchLettering(InkstitchExtension): index = parent.index(lettering_group) if text_positioning_path is not None: parent.insert(index, text_positioning_path) - parent.remove(lettering_group) + lettering_group.delete() def generate_output_file(self, file_format, path, text, stitch_plan): text = text.replace('\n', '') @@ -217,7 +217,7 @@ class BatchLettering(InkstitchExtension): index = parent.index(text_positioning_path) parent.insert(index, lettering_group) TextAlongPath(self.svg, lettering_group, text_positioning_path, self.options.text_position) - parent.remove(text_positioning_path) + text_positioning_path.delete() self.get_elements() stitch_groups = self.elements_to_stitch_groups(self.elements) |
