From ae49143c3af586712db8c854877682e155bfa7b6 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Thu, 27 Oct 2016 22:32:49 -0400 Subject: studly caps to underscores (pep8) --- embroider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'embroider.py') diff --git a/embroider.py b/embroider.py index 9c8b507b..918f0632 100644 --- a/embroider.py +++ b/embroider.py @@ -120,7 +120,7 @@ def flatten(path, flatness): return flattened -def cspToShapelyPolygon(path): +def csp_to_shapely_polygon(path): poly_ary = [] for sub_path in path: point_ary = [] @@ -719,7 +719,7 @@ class Embroider(inkex.Effect): def filled_region_to_patchlist(self, node): angle = math.radians(float(get_float_param(node,'angle',0))) paths = flatten(parse_path(node), self.options.flat) - shapelyPolygon = cspToShapelyPolygon(paths) + shapelyPolygon = csp_to_shapely_polygon(paths) threadcolor = simplestyle.parseStyle(node.get("style"))["fill"] return self.process_one_path( node, -- cgit v1.2.3