another fix

This commit is contained in:
Mario Voigt 2021-11-01 19:34:15 +01:00
parent a99ad07993
commit 609633c2b9
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ class LaserCheck(inkex.EffectExtension):
swConverted = self.svg.uutounit(float(self.svg.unittouu(strokeWidth))) #possibly w/o units. we unify to some internal float
inkex.utils.debug("stroke width {}px ({}mm)".format(
round(self.svg.uutounit(swConverted, "px"),4),
round(self.svg.unittouu(str(swConverted) + "mm"),4)
round(self.svg.uutounit(swConverted, "mm"),4),
)
)