diff --git a/kiplot/kicad/v5_sch.py b/kiplot/kicad/v5_sch.py index 1ab844ea..773b2fa5 100644 --- a/kiplot/kicad/v5_sch.py +++ b/kiplot/kicad/v5_sch.py @@ -821,7 +821,7 @@ class SchematicWire(object): res = _split_space(line) if len(res) != 3: raise SchFileError('Malformed wire', line) - wire = SchematicText() + wire = SchematicWire() if res[0] == 'Wire': # Wire Wire Line # Wire Bus Line