diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2018-10-23 18:08:46 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-23 18:08:46 -0600 |
| commit | d9525968a2462270ed5ef0f2ec1742c8ae325079 (patch) | |
| tree | 24d0aa04d2a392a64f206e6d5abba2a185b4118c /lib | |
| parent | 3e6704e5c0382ba6b338649bb656dbc7d76508fc (diff) | |
fix manual stitch and add debugging support (#339)
* add debugging support using pydev
* fix: don't add tie stitches for manual stitch
* fix style
Diffstat (limited to 'lib')
| -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 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 |
