summaryrefslogtreecommitdiff
path: root/gerbonara/rs274x.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-04-11 00:52:07 +0200
committerjaseg <git@jaseg.de>2023-04-11 00:52:32 +0200
commit138f6504e767b906ef263f483c6a7d355bc2dc48 (patch)
tree9bc27bfaee8933d82cc842671b17d8ca178a8df1 /gerbonara/rs274x.py
parentb0bc7971bcaf551cc5293d56b3122c5d04502faa (diff)
downloadgerbonara-138f6504e767b906ef263f483c6a7d355bc2dc48.tar.gz
gerbonara-138f6504e767b906ef263f483c6a7d355bc2dc48.tar.bz2
gerbonara-138f6504e767b906ef263f483c6a7d355bc2dc48.zip
Fix failing tests
Diffstat (limited to 'gerbonara/rs274x.py')
-rw-r--r--gerbonara/rs274x.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/rs274x.py b/gerbonara/rs274x.py
index 271880b..01cdccf 100644
--- a/gerbonara/rs274x.py
+++ b/gerbonara/rs274x.py
@@ -267,7 +267,7 @@ class GerberFile(CamFile):
for aperture in self.apertures:
if isinstance(aperture, apertures.ApertureMacroInstance):
- macro_def = am_stmt(aperture._rotated().macro)
+ macro_def = am_stmt(aperture.rotated().macro)
if macro_def not in processed_macros:
processed_macros.add(macro_def)
yield macro_def