summaryrefslogtreecommitdiff
path: root/gerbonara/rs274x.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-07-03 17:49:52 +0200
committerjaseg <git@jaseg.de>2023-07-03 17:49:52 +0200
commit95728fb33c0a0d18b48677607da37bbaa2e2af0e (patch)
tree1166f9e782ebdd5c67c9ef90245f7d7c5e969a3f /gerbonara/rs274x.py
parent0920af41496aa682b69e4f9bf81159cc7637fabb (diff)
downloadgerbonara-95728fb33c0a0d18b48677607da37bbaa2e2af0e.tar.gz
gerbonara-95728fb33c0a0d18b48677607da37bbaa2e2af0e.tar.bz2
gerbonara-95728fb33c0a0d18b48677607da37bbaa2e2af0e.zip
Fix GerberX2 attribtue handling
Diffstat (limited to 'gerbonara/rs274x.py')
-rw-r--r--gerbonara/rs274x.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/rs274x.py b/gerbonara/rs274x.py
index 5e05ac7..db74780 100644
--- a/gerbonara/rs274x.py
+++ b/gerbonara/rs274x.py
@@ -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')