diff options
| author | Lex Neva <github@lexneva.name> | 2016-10-29 13:28:37 -0400 |
|---|---|---|
| committer | Lex Neva <github@lexneva.name> | 2016-10-29 13:28:37 -0400 |
| commit | 9249a3ae7730e62cdff282a33e989c1da5d00411 (patch) | |
| tree | 3411ea81c88ec2928d482cb71fbcf3f29690eeaf /embroider_params.py | |
| parent | 579ef18b563544636b8a575cbbc3fbf774931019 (diff) | |
pep8 fixes
Diffstat (limited to 'embroider_params.py')
| -rw-r--r-- | embroider_params.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
