summaryrefslogtreecommitdiff
path: root/lib/stitch_plan/stitch_plan.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-21 20:50:14 -0400
committerLex Neva <github.com@lexneva.name>2018-08-21 20:50:14 -0400
commit94f391ab4262b5e1c8dace0263467a0ec1f17058 (patch)
tree8ce8836e5ac65e81b48d71615639bc0e7b9c08b9 /lib/stitch_plan/stitch_plan.py
parent038875f876d79d0f1e971886fe42f5bee4f9f31e (diff)
more pep8 fixes
Diffstat (limited to 'lib/stitch_plan/stitch_plan.py')
-rw-r--r--lib/stitch_plan/stitch_plan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stitch_plan/stitch_plan.py b/lib/stitch_plan/stitch_plan.py
index 682ea09f..c713b42e 100644
--- a/lib/stitch_plan/stitch_plan.py
+++ b/lib/stitch_plan/stitch_plan.py
@@ -209,8 +209,8 @@ class ColorBlock(object):
# Don't consider jumps, stops, color changes, or trims as candidates for filtering
pass
else:
- l = (stitch - stitches[-1]).length()
- if l <= 0.1 * PIXELS_PER_MM:
+ length = (stitch - stitches[-1]).length()
+ if length <= 0.1 * PIXELS_PER_MM:
# duplicate stitch, skip this one
continue