summaryrefslogtreecommitdiff
path: root/gerbonara/aperture_macros
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-04-26 00:35:37 +0200
committerjaseg <git@jaseg.de>2023-04-26 00:35:37 +0200
commit1f841ad71b9b43cf304649d45a5cdb8524751349 (patch)
tree50a725f94b1eed8931e564ca1f105d603aea97f2 /gerbonara/aperture_macros
parent59fe7b3b8314d62834a2dbfa1e9735862f16215f (diff)
downloadgerbonara-1f841ad71b9b43cf304649d45a5cdb8524751349.tar.gz
gerbonara-1f841ad71b9b43cf304649d45a5cdb8524751349.tar.bz2
gerbonara-1f841ad71b9b43cf304649d45a5cdb8524751349.zip
Fix last failing tests. Rerun pending.
Diffstat (limited to 'gerbonara/aperture_macros')
-rw-r--r--gerbonara/aperture_macros/primitive.py2
1 files changed, 1 insertions, 1 deletions
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}).')