From 26c2460490b6e64790c94e00be848465a6a5fa96 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 29 Apr 2023 17:25:32 +0200 Subject: Fix remaining unit tests --- gerbonara/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerbonara/cli.py') 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, -- cgit