diff options
Diffstat (limited to 'gerbonara/cli.py')
-rw-r--r-- | gerbonara/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/cli.py b/gerbonara/cli.py index a27a0b6..bcc4f11 100644 --- a/gerbonara/cli.py +++ b/gerbonara/cli.py @@ -494,7 +494,7 @@ def meta(path, force_zip, format_warnings): d[function] = { 'format': 'Gerber', 'path': str(layer.original_path), - 'apertures': len(layer.apertures), + 'apertures': len(list(layer.apertures())), 'objects': len(layer.objects), 'bounding_box': {'min_x': min_x, 'min_y': min_y, 'max_x': max_x, 'max_y': max_y}, 'format_settings': format_settings, |