From 9249a3ae7730e62cdff282a33e989c1da5d00411 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Sat, 29 Oct 2016 13:28:37 -0400 Subject: pep8 fixes --- embroider_params.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'embroider_params.py') diff --git a/embroider_params.py b/embroider_params.py index 20f6c222..ffa14f93 100644 --- a/embroider_params.py +++ b/embroider_params.py @@ -14,7 +14,7 @@ import inkex class EmbroiderParams(inkex.Effect): def __init__(self, *args, **kwargs): inkex.Effect.__init__(self) - + self.params = ["zigzag_spacing", "stitch_length", "row_spacing", @@ -31,7 +31,7 @@ class EmbroiderParams(inkex.Effect): "satin_center_walk", "satin_zigzag_underlay_spacing", ] - + for param in self.params: self.OptionParser.add_option("--%s" % param, default="") @@ -40,7 +40,7 @@ class EmbroiderParams(inkex.Effect): for param in self.params: value = getattr(self.options, param).strip() param = "embroider_" + param - + if node.get(param) is not None and not value: # only overwrite existing params if they gave a value continue -- cgit v1.2.3