diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2021-03-22 17:06:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-22 17:06:48 +0100 |
| commit | 183b2451fd6515f72c709a40b4e5ab5735427823 (patch) | |
| tree | 175c7d18392632a34cb25165ac1fb03470fb8cf5 /lib/stitch_plan/ties.py | |
| parent | 8c4288431644f590e127a85d1f23171fb9b2cc95 (diff) | |
update font tools etc (#1086)
* update font tools
* fix tie error
* ignore duplicated commands
Diffstat (limited to 'lib/stitch_plan/ties.py')
| -rw-r--r-- | lib/stitch_plan/ties.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitch_plan/ties.py b/lib/stitch_plan/ties.py index 916f9822..fda12f9a 100644 --- a/lib/stitch_plan/ties.py +++ b/lib/stitch_plan/ties.py @@ -32,7 +32,7 @@ def add_tie(stitches, tie_path): def add_tie_off(stitches): # tie_modus: 0 = both | 1 = before | 2 = after | 3 = neither - if stitches[0].tie_modus not in [1, 3]: + if stitches[-1].tie_modus not in [1, 3]: add_tie(stitches, stitches[-1:-3:-1]) |
