summaryrefslogtreecommitdiff
path: root/gerber/excellon.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerber/excellon.py')
-rwxr-xr-xgerber/excellon.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gerber/excellon.py b/gerber/excellon.py
index 4317e41..4456329 100755
--- a/gerber/excellon.py
+++ b/gerber/excellon.py
@@ -461,6 +461,8 @@ class ExcellonParser(object):
stmt = UnitStmt.from_excellon(line)
self.units = stmt.units
self.zeros = stmt.zeros
+ if stmt.format:
+ self.format = stmt.format
self.statements.append(stmt)
elif line[:3] == 'M71' or line [:3] == 'M72':