From 5ce88e4d1b06dcc846c94ec614fb00f64e85c125 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 20 Apr 2023 00:46:30 +0200 Subject: Fix a bunch of bugs on the way to electroniceel's protoboard layout --- gerbonara/apertures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerbonara/apertures.py') diff --git a/gerbonara/apertures.py b/gerbonara/apertures.py index b411412..d5670a2 100644 --- a/gerbonara/apertures.py +++ b/gerbonara/apertures.py @@ -474,7 +474,7 @@ class ApertureMacroInstance(Aperture): macro : object #: The parameters to the :py:class:`.ApertureMacro`. All elements should be floats or ints. The first item in the #: list is parameter ``$1``, the second is ``$2`` etc. - parameters : list + parameters : list = field(default_factory=list) #: Aperture rotation in radians. When saving, a copy of the :py:class:`.ApertureMacro` is re-written with this #: rotation. rotation : float = 0 -- cgit