From 289766dbc01c593b36aca34d3e22d251b67b6dfa Mon Sep 17 00:00:00 2001 From: SET Date: Fri, 14 Aug 2020 18:01:41 -0300 Subject: [PATCH] Fixed extra parameters in warning call. --- kiplot/kicad/v5_sch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiplot/kicad/v5_sch.py b/kiplot/kicad/v5_sch.py index be0df73f..1ab844ea 100644 --- a/kiplot/kicad/v5_sch.py +++ b/kiplot/kicad/v5_sch.py @@ -732,7 +732,7 @@ class SchematicComponent(object): yr = int(res[1]) if comp.x != xr or comp.y != yr: logger.warning('Inconsistent position for component {} ({},{} vs {},{})'. - format(comp.f_ref, comp.x, comp.y, xr, yr), line, _sch_line_number) + format(comp.f_ref, comp.x, comp.y, xr, yr)) # Orientation matrix line = _get_line(f) if line[0] != '\t':