From 95728fb33c0a0d18b48677607da37bbaa2e2af0e Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 3 Jul 2023 17:49:52 +0200 Subject: Fix GerberX2 attribtue handling --- gerbonara/rs274x.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit