summaryrefslogtreecommitdiff
path: root/gerbonara/layers.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-10 11:10:23 +0200
committerjaseg <git@jaseg.de>2022-06-10 22:11:39 +0200
commitb1be792c5200b6af58773486ac060e247e8c2514 (patch)
treee3fb21e80b2dcb0cd30c99a2c78cd5a8277f661d /gerbonara/layers.py
parent460ea625af5c1d9e243feaa49923f7b2c7db8837 (diff)
downloadgerbonara-b1be792c5200b6af58773486ac060e247e8c2514.tar.gz
gerbonara-b1be792c5200b6af58773486ac060e247e8c2514.tar.bz2
gerbonara-b1be792c5200b6af58773486ac060e247e8c2514.zip
Fix testsv0.10.0
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