diff options
| author | capellancitizen <thecapellancitizen@gmail.com> | 2025-03-09 21:21:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-09 21:21:48 -0400 |
| commit | 99509df8d8abf1e7b701a4a09cf170a362f6d878 (patch) | |
| tree | a461549502fa9f37dc287789b6c7db81dfcd5368 /lib/extensions/fill_to_stroke.py | |
| parent | 0d2fc24f25f87562f0755b53dad6204efad1330d (diff) | |
Mypy type correctness (#3199)
Diffstat (limited to 'lib/extensions/fill_to_stroke.py')
| -rw-r--r-- | lib/extensions/fill_to_stroke.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extensions/fill_to_stroke.py b/lib/extensions/fill_to_stroke.py index 9101eca2..085b3c95 100644 --- a/lib/extensions/fill_to_stroke.py +++ b/lib/extensions/fill_to_stroke.py @@ -67,7 +67,7 @@ class FillToStroke(InkstitchExtension): element_label = element.node.label group_name = element_label or element_id - centerline_group = Group.new(f'{ group_name } { _("center line") }', id=self.uniqueId("centerline_group_")) + centerline_group = Group.new(f'{group_name} { _("center line") }', id=self.uniqueId("centerline_group_")) parent = element.node.getparent() index = parent.index(element.node) + 1 parent.insert(index, centerline_group) @@ -75,7 +75,7 @@ class FillToStroke(InkstitchExtension): transform = Transform(get_correction_transform(parent, child=True)) stroke_width = convert_unit(self.options.line_width_mm, 'px', 'mm') color = element.node.style('fill') - style = f"fill:none;stroke:{ color };stroke-width:{ stroke_width }" + style = f"fill:none;stroke:{color};stroke-width:{stroke_width}" multipolygon = element.shape multipolygon = self._apply_cut_lines(cut_lines, multipolygon) |
