summaryrefslogtreecommitdiff
path: root/gerbonara/ipc356.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-02-21 22:48:14 +0100
committerjaseg <git@jaseg.de>2023-02-21 22:48:14 +0100
commit6231f67139f64e71fdb0893d86ff3308572d46d8 (patch)
treef788f0711c158c327b038f69f13975ff0fbf75ab /gerbonara/ipc356.py
parent9a6bc691cb0fa96d50a93e6bce60161a4fc6940d (diff)
downloadgerbonara-6231f67139f64e71fdb0893d86ff3308572d46d8.tar.gz
gerbonara-6231f67139f64e71fdb0893d86ff3308572d46d8.tar.bz2
gerbonara-6231f67139f64e71fdb0893d86ff3308572d46d8.zip
Fix tests
Diffstat (limited to 'gerbonara/ipc356.py')
-rw-r--r--gerbonara/ipc356.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gerbonara/ipc356.py b/gerbonara/ipc356.py
index 435a805..9da129a 100644
--- a/gerbonara/ipc356.py
+++ b/gerbonara/ipc356.py
@@ -326,17 +326,17 @@ class NetlistParser(object):
if name == 'UNITS':
if value in ('CUST', 'CUST 0'):
- self.settings.units = Inch
+ self.settings.unit = Inch
self.settings.angle_unit = 'degree'
self.has_unit = True
elif value == 'CUST 1':
- self.settings.units = MM
+ self.settings.unit = MM
self.settings.angle_unit = 'degree'
self.has_unit = True
elif value == 'CUST 2':
- self.settings.units = Inch
+ self.settings.unit = Inch
self.settings.angle_unit = 'radian'
self.has_unit = True