diff options
author | jaseg <git@jaseg.de> | 2023-04-29 13:52:04 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-04-30 11:06:47 +0200 |
commit | af3458b1e22f92f51606cff8f771d03551af4cc0 (patch) | |
tree | 8a41abcc78aa8d358663d37a73b3044b83991a46 /gerbonara/utils.py | |
parent | 73a48f1dcb8bbe25221a5df952a36aec301b9f37 (diff) | |
download | gerbonara-af3458b1e22f92f51606cff8f771d03551af4cc0.tar.gz gerbonara-af3458b1e22f92f51606cff8f771d03551af4cc0.tar.bz2 gerbonara-af3458b1e22f92f51606cff8f771d03551af4cc0.zip |
Fix failing kicad tests
Diffstat (limited to 'gerbonara/utils.py')
-rw-r--r-- | gerbonara/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/utils.py b/gerbonara/utils.py index 12ac787..2bda581 100644 --- a/gerbonara/utils.py +++ b/gerbonara/utils.py @@ -84,7 +84,7 @@ class LengthUnit: if unit == self or unit is None or value is None: return value - return value * unit.factor / self.factor + return value * unit.this_in_mm / self.this_in_mm def convert_to(self, unit, value): """ :py:meth:`.LengthUnit.convert_from` but in reverse. """ |