Fix GerberX2 attribtue handling

This commit is contained in:
jaseg 2023-07-03 17:49:52 +02:00
parent 0920af4149
commit 95728fb33c

View file

@ -1048,7 +1048,7 @@ class GerberParser:
else:
target = {'TF': self.file_attrs, 'TO': self.graphics_state.object_attrs, 'TA': self.aperture_attrs}[match['type']]
target[match['name']] = match['value'].split(',')
target[match['name']] = tuple(match['value'].split(','))
if 'EAGLE' in self.file_attrs.get('.GenerationSoftware', []) or match['eagle_garbage']:
self.generator_hints.append('eagle')