diff options
author | Garret Fick <garret@ficksworkshop.com> | 2016-07-11 23:18:15 +0800 |
---|---|---|
committer | Garret Fick <garret@ficksworkshop.com> | 2016-07-11 23:18:15 +0800 |
commit | 10c7075ad5fc05907e53036b2e308cfc372476c7 (patch) | |
tree | 3bb678a22a6da23f0a6041c09b77c7476a147405 /gerber/excellon.py | |
parent | 7e06f3a2f5870d4878f25e391372285263fe5ac6 (diff) | |
download | gerbonara-10c7075ad5fc05907e53036b2e308cfc372476c7.tar.gz gerbonara-10c7075ad5fc05907e53036b2e308cfc372476c7.tar.bz2 gerbonara-10c7075ad5fc05907e53036b2e308cfc372476c7.zip |
Allow G85 for invalid files
Diffstat (limited to 'gerber/excellon.py')
-rwxr-xr-x | gerber/excellon.py | 2 |
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)
|