kicad: fix for newer format versions
This commit is contained in:
parent
a6434f16cd
commit
3ae6b9be61
1 changed files with 1 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue