summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/stitch_plan/ties.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitch_plan/ties.py b/lib/stitch_plan/ties.py
index 1d759c0e..5acf16e6 100644
--- a/lib/stitch_plan/ties.py
+++ b/lib/stitch_plan/ties.py
@@ -5,7 +5,7 @@ from ..svg import PIXELS_PER_MM
def add_tie(stitches, tie_path):
- if len(tie_path) < 2 or stitches[0].no_ties:
+ if len(tie_path) < 2 or tie_path[0].no_ties:
# It's from a manual stitch block, so don't add tie stitches. The user
# will add them if they want them.
return