summaryrefslogtreecommitdiff
path: root/gerber/gerber_statements.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2016-01-21 03:57:44 -0500
committerGarret Fick <garret@ficksworkshop.com>2016-09-24 02:28:36 +0800
commit5af19af190c1fb0f0c5be029d46d63e657dde4d9 (patch)
treedd60a0b21e1d1ca7258b9f978ce973354d96062c /gerber/gerber_statements.py
parent8d5e782ccf220d77f0aad5a4e5605dc5cbe0f410 (diff)
downloadgerbonara-5af19af190c1fb0f0c5be029d46d63e657dde4d9.tar.gz
gerbonara-5af19af190c1fb0f0c5be029d46d63e657dde4d9.tar.bz2
gerbonara-5af19af190c1fb0f0c5be029d46d63e657dde4d9.zip
Commit partial merge so I can work on the plane
Diffstat (limited to 'gerber/gerber_statements.py')
-rw-r--r--gerber/gerber_statements.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gerber/gerber_statements.py b/gerber/gerber_statements.py
index 08dbd82..33fb4ec 100644
--- a/gerber/gerber_statements.py
+++ b/gerber/gerber_statements.py
@@ -337,7 +337,8 @@ class ADParamStmt(ParamStmt):
if isinstance(modifiers, tuple):
self.modifiers = modifiers
elif modifiers:
- self.modifiers = [tuple([float(x) for x in m.split("X") if len(x)]) for m in modifiers.split(",") if len(m)]
+ self.modifiers = [tuple([float(x) for x in m.split("X") if len(x)])
+ for m in modifiers.split(",") if len(m)]
else:
self.modifiers = [tuple()]