From 1f841ad71b9b43cf304649d45a5cdb8524751349 Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 26 Apr 2023 00:35:37 +0200 Subject: Fix last failing tests. Rerun pending. --- gerbonara/aperture_macros/primitive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerbonara/aperture_macros/primitive.py') diff --git a/gerbonara/aperture_macros/primitive.py b/gerbonara/aperture_macros/primitive.py index 8d4bf4f..25c9bd1 100644 --- a/gerbonara/aperture_macros/primitive.py +++ b/gerbonara/aperture_macros/primitive.py @@ -242,7 +242,7 @@ class Outline(Primitive): code = 4 def __init__(self, unit, args): - if len(args) < 11: + if len(args) < 10: raise ValueError(f'Invalid aperture macro outline primitive, not enough parameters ({len(args)}).') if len(args) > 5004: raise ValueError(f'Invalid aperture macro outline primitive, too many points ({len(args)//2-2}).') -- cgit