summaryrefslogtreecommitdiff
path: root/gerbonara/ipc356.py
diff options
context:
space:
mode:
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