From 6a39662fd15a36a656ad1cf5779c865890d789b3 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sun, 14 Jul 2024 15:40:16 +0200 Subject: Command translations (#3075) * command translations * windows: do not unescape --- lib/svg/rendering.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/svg/rendering.py') diff --git a/lib/svg/rendering.py b/lib/svg/rendering.py index 4f0ec154..735e00e7 100644 --- a/lib/svg/rendering.py +++ b/lib/svg/rendering.py @@ -234,8 +234,8 @@ def render_stitch_plan(svg, stitch_plan, realistic=False, visual_commands=True, for i, color_block in enumerate(stitch_plan): group = inkex.Group(attrib={ - 'id': '__color_block_%d__' % i, - INKSCAPE_LABEL: "color block %d" % (i + 1) + 'id': f'__color_block_{i}__', + INKSCAPE_LABEL: f"color block {(i + 1)}" }) layer.append(group) if realistic: -- cgit v1.2.3