summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2021-10-02 21:42:02 +0200
committerGitHub <noreply@github.com>2021-10-02 21:42:02 +0200
commite989a7bd74ba3a4e9c352b5f8381a92ca4a7e1f2 (patch)
treec67c3b92de41b0205d4a0d4dee2dfe7166d64cdf /lib
parent53be70260c43126cebbb466b9b5ed469502a77b7 (diff)
Fix ties (#1365)
Diffstat (limited to 'lib')
-rw-r--r--lib/stitch_plan/color_block.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitch_plan/color_block.py b/lib/stitch_plan/color_block.py
index 86edaff2..10d199c2 100644
--- a/lib/stitch_plan/color_block.py
+++ b/lib/stitch_plan/color_block.py
@@ -119,7 +119,7 @@ class ColorBlock(object):
raise ValueError("internal error: can't add a command to an empty stitch block")
self.stitches.append(Stitch(*args, **kwargs))
if isinstance(args[0], Stitch):
- self.stitches.append(args[0])
+ self.stitches.append(Stitch(*args, **kwargs))
elif isinstance(args[0], Point):
self.stitches.append(Stitch(args[0].x, args[0].y, *args[1:], **kwargs))