summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarret Fick <garret@ficksworkshop.com>2016-07-11 23:18:15 +0800
committerGarret Fick <garret@ficksworkshop.com>2016-07-11 23:18:15 +0800
commit10c7075ad5fc05907e53036b2e308cfc372476c7 (patch)
tree3bb678a22a6da23f0a6041c09b77c7476a147405
parent7e06f3a2f5870d4878f25e391372285263fe5ac6 (diff)
downloadgerbonara-10c7075ad5fc05907e53036b2e308cfc372476c7.tar.gz
gerbonara-10c7075ad5fc05907e53036b2e308cfc372476c7.tar.bz2
gerbonara-10c7075ad5fc05907e53036b2e308cfc372476c7.zip
Allow G85 for invalid files
-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)