summaryrefslogtreecommitdiff
path: root/lib/stitches/auto_fill.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-21 21:43:09 -0400
committerLex Neva <github.com@lexneva.name>2018-08-21 21:43:09 -0400
commit908f2cd7727e939b87e3f57c1d3a189705de4c94 (patch)
treed0a868121190fb0ae4cae2b9ee7ae199d5230ef0 /lib/stitches/auto_fill.py
parent94f391ab4262b5e1c8dace0263467a0ec1f17058 (diff)
pyflakes fixes
Diffstat (limited to 'lib/stitches/auto_fill.py')
-rw-r--r--lib/stitches/auto_fill.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/stitches/auto_fill.py b/lib/stitches/auto_fill.py
index e777d026..e732c940 100644
--- a/lib/stitches/auto_fill.py
+++ b/lib/stitches/auto_fill.py
@@ -1,14 +1,12 @@
import sys
import shapely
import networkx
-import math
from itertools import groupby, izip
from collections import deque
from .fill import intersect_region_with_grating, row_num, stitch_row
from .running_stitch import running_stitch
from ..i18n import _
-from ..svg import PIXELS_PER_MM
from ..utils.geometry import Point as InkstitchPoint, cut
@@ -367,7 +365,6 @@ def find_stitch_path(graph, segments, starting_point=None, ending_point=None):
the order of most-recently-visited first.
"""
- original_graph = graph
graph = graph.copy()
num_segments = len(segments)
segments_visited = 0