kicad: fix for newer format versions

This commit is contained in:
jaseg 2025-04-02 17:49:03 +02:00
parent a6434f16cd
commit 3ae6b9be61

View file

@ -125,9 +125,7 @@ class Stroke:
class WidthMixin:
def __post_init__(self):
if self.width is None:
self.width = self.stroke.width
else:
if self.width is not None:
self.stroke = Stroke(self.width)