summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/aperture_macros
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-12-29 22:03:33 +0100
committerjaseg <git@jaseg.de>2021-12-29 22:03:33 +0100
commitd8ff4a468b7299a370905b5c12c62393e369c61a (patch)
tree9b55fb9921b0a52900f066483792c4121253ac50 /gerbonara/gerber/aperture_macros
parent3fb26e6940b5ae752308d8a33f2608d266795153 (diff)
downloadgerbonara-d8ff4a468b7299a370905b5c12c62393e369c61a.tar.gz
gerbonara-d8ff4a468b7299a370905b5c12c62393e369c61a.tar.bz2
gerbonara-d8ff4a468b7299a370905b5c12c62393e369c61a.zip
Fix some failing tests
Diffstat (limited to 'gerbonara/gerber/aperture_macros')
-rw-r--r--gerbonara/gerber/aperture_macros/parse.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gerbonara/gerber/aperture_macros/parse.py b/gerbonara/gerber/aperture_macros/parse.py
index 35cb6c2..f1e2150 100644
--- a/gerbonara/gerber/aperture_macros/parse.py
+++ b/gerbonara/gerber/aperture_macros/parse.py
@@ -76,6 +76,8 @@ class ApertureMacro:
primitive = ap.PRIMITIVE_CLASSES[int(primitive)](unit=unit, args=args)
macro.primitives.append(primitive)
+ return macro
+
@property
def name(self):
if self._name is not None: