aboutsummaryrefslogtreecommitdiff
path: root/gerbolyze/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbolyze/__init__.py')
-rwxr-xr-xgerbolyze/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbolyze/__init__.py b/gerbolyze/__init__.py
index 671a071..f04cf1e 100755
--- a/gerbolyze/__init__.py
+++ b/gerbolyze/__init__.py
@@ -79,7 +79,7 @@ def paste(input_gerbers, input_svg, output_gerbers, is_zip,
(('drill', 'plated'), stack.drill_pth),
(('drill', 'nonplated'), stack.drill_npth)]:
logging.info(f'Layer {side} {use}')
- if (soup_layer := soup.find(id=f'g-{side}-{use}')):
+ if (soup_layer := soup.find('g', id=f'g-{side}-{use}')):
if not soup_layer.contents:
logging.info(f' Corresponding overlay layer is empty. Skipping.')
else: