summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/apertures.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-01-22 22:00:04 +0100
committerjaseg <git@jaseg.de>2022-01-22 22:00:04 +0100
commit07d279f89faefde4793ae2de4d3a629dc87da63e (patch)
tree1f6d6688dfa17c6a9b5cbafc1dd5abd48eba891a /gerbonara/gerber/apertures.py
parent3b4b72bc59411c5e4335376479208b38307bd850 (diff)
downloadgerbonara-07d279f89faefde4793ae2de4d3a629dc87da63e.tar.gz
gerbonara-07d279f89faefde4793ae2de4d3a629dc87da63e.tar.bz2
gerbonara-07d279f89faefde4793ae2de4d3a629dc87da63e.zip
Fix last test failures
Diffstat (limited to 'gerbonara/gerber/apertures.py')
-rw-r--r--gerbonara/gerber/apertures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/gerber/apertures.py b/gerbonara/gerber/apertures.py
index 1e6c555..1b5aa2e 100644
--- a/gerbonara/gerber/apertures.py
+++ b/gerbonara/gerber/apertures.py
@@ -77,7 +77,7 @@ class Aperture:
#print(f'aperture to gerber {self.unit=} {settings=} {unit=}')
actual_inst = self._rotated()
params = 'X'.join(f'{float(par):.4}' for par in actual_inst.params(unit) if par is not None)
- return f'{actual_inst.gerber_shape_code},{params}'
+ return ','.join((actual_inst.gerber_shape_code, params))
def __eq__(self, other):
# We need to choose some unit here.