summaryrefslogtreecommitdiff
path: root/gerbonara/layers.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/layers.py')
-rw-r--r--gerbonara/layers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/layers.py b/gerbonara/layers.py
index c429910..4fcc6e3 100644
--- a/gerbonara/layers.py
+++ b/gerbonara/layers.py
@@ -345,7 +345,7 @@ class LayerStack:
layer = LazyCamFile(GerberFile, path)
if not lazy:
- layer = layer.open()
+ layer = layer.instance
if key == 'mechanical outline':
layers['mechanical', 'outline'] = layer