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, 1 insertions, 1 deletions
diff --git a/gerber/excellon.py b/gerber/excellon.py
index becf82d..65e676b 100755
--- a/gerber/excellon.py
+++ b/gerber/excellon.py
@@ -639,7 +639,7 @@ class ExcellonParser(object):
if y is not None:
self.pos[1] += y
- if self.state == 'DRILL':
+ if self.state == 'DRILL' or self.state == 'HEADER':
if not self.active_tool:
self.active_tool = self._get_tool(1)