summaryrefslogtreecommitdiff
path: root/gerbonara/aperture_macros
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-04-05 14:15:33 +0200
committerjaseg <git@jaseg.de>2023-04-10 23:57:15 +0200
commita1efd9d09ab5de7d5a78458dca9880bcf8c436e2 (patch)
tree48817bf1d0ed20dbc7064c23f300971e78430787 /gerbonara/aperture_macros
parent506f61ae8445a7fed49958a7f75154d957207e0e (diff)
downloadgerbonara-a1efd9d09ab5de7d5a78458dca9880bcf8c436e2.tar.gz
gerbonara-a1efd9d09ab5de7d5a78458dca9880bcf8c436e2.tar.bz2
gerbonara-a1efd9d09ab5de7d5a78458dca9880bcf8c436e2.zip
Fix aperture macro multiplication syntax
Diffstat (limited to 'gerbonara/aperture_macros')
-rw-r--r--gerbonara/aperture_macros/expression.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/aperture_macros/expression.py b/gerbonara/aperture_macros/expression.py
index 3600f4f..f545aac 100644
--- a/gerbonara/aperture_macros/expression.py
+++ b/gerbonara/aperture_macros/expression.py
@@ -204,7 +204,7 @@ class OperatorExpression(Expression):
op = {operator.add: '+',
operator.sub: '-',
- operator.mul: 'X',
+ operator.mul: 'x',
operator.truediv: '/'} [self.op]
return f'{lval}{op}{rval}'