diff options
| author | Lex Neva <github.com@lexneva.name> | 2021-08-07 12:37:17 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2021-08-07 12:37:17 -0400 |
| commit | 923ff3cb97c764f9999ac908c9b3aa321fd02301 (patch) | |
| tree | b266ad119182475ced5797857bb53ad31d76f34b /lib/api | |
| parent | b1af926ea6018b869d2401aeece46318b88d9a5d (diff) | |
fix more patch references
Diffstat (limited to 'lib/api')
| -rw-r--r-- | lib/api/stitch_plan.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/stitch_plan.py b/lib/api/stitch_plan.py index 9c9bb4ac..6d64d781 100644 --- a/lib/api/stitch_plan.py +++ b/lib/api/stitch_plan.py @@ -18,7 +18,7 @@ def get_stitch_plan(): metadata = g.extension.get_inkstitch_metadata() collapse_len = metadata['collapse_len_mm'] - patches = g.extension.elements_to_patches(g.extension.elements) + patches = g.extension.elements_to_stitch_groups(g.extension.elements) stitch_plan = stitch_groups_to_stitch_plan(patches, collapse_len=collapse_len) return jsonify(stitch_plan) |
