diff options
| author | Lex Neva <github.com@lexneva.name> | 2021-08-07 12:18:55 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2021-08-07 12:18:55 -0400 |
| commit | 173548dee569b0503ba1ddeba5cb8aae74c44c46 (patch) | |
| tree | c17c62c7f593524d3a72e668502506f1aebe5bd4 /lib/api | |
| parent | 4b9df25a9a0203072c6a47b9ce29505561463fbf (diff) | |
rename more patch references
Diffstat (limited to 'lib/api')
| -rw-r--r-- | lib/api/stitch_plan.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/stitch_plan.py b/lib/api/stitch_plan.py index 2011b592..9c9bb4ac 100644 --- a/lib/api/stitch_plan.py +++ b/lib/api/stitch_plan.py @@ -5,7 +5,7 @@ from flask import Blueprint, g, jsonify -from ..stitch_plan import patches_to_stitch_plan +from ..stitch_plan import stitch_groups_to_stitch_plan stitch_plan = Blueprint('stitch_plan', __name__) @@ -19,6 +19,6 @@ 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) - stitch_plan = patches_to_stitch_plan(patches, collapse_len=collapse_len) + stitch_plan = stitch_groups_to_stitch_plan(patches, collapse_len=collapse_len) return jsonify(stitch_plan) |
