summaryrefslogtreecommitdiff
path: root/gerber/gerber_statements.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerber/gerber_statements.py')
-rw-r--r--gerber/gerber_statements.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerber/gerber_statements.py b/gerber/gerber_statements.py
index c40eb81..f2fc970 100644
--- a/gerber/gerber_statements.py
+++ b/gerber/gerber_statements.py
@@ -391,7 +391,7 @@ class AMParamStmt(ParamStmt):
primitive.to_metric()
def to_gerber(self, settings=None):
- return '%AM{0}*{1}%'.format(self.name, '\n'.join([primitive.to_gerber(settings) for primitive in self.primitives]))
+ return '%AM{0}*{1}*%'.format(self.name, self.macro)
def __str__(self):
return '<Aperture Macro %s: %s>' % (self.name, self.macro)
@@ -785,7 +785,7 @@ class DeprecatedStmt(Statement):
self.line = line
def to_gerber(self, settings=None):
- return ''
+ return self.line
def __str__(self):
return '<Deprecated Statement: \'%s\'>' % self.line