From 10c910fa39ba02b52bcdb75b534a555ec80fe2f3 Mon Sep 17 00:00:00 2001 From: SET Date: Sat, 15 Aug 2020 11:03:12 -0300 Subject: [PATCH] Fixed DCM error line number not properly reseted --- kiplot/kicad/v5_sch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kiplot/kicad/v5_sch.py b/kiplot/kicad/v5_sch.py index c965b2fa..bd44db9f 100644 --- a/kiplot/kicad/v5_sch.py +++ b/kiplot/kicad/v5_sch.py @@ -495,6 +495,7 @@ class DocLib(object): """ Populates the class, file must exist """ logger.debug('Loading doc-lib `{}`'.format(file)) global _sch_file_name + global _sch_line_number _sch_file_name = file with open(file, 'rt') as f: _sch_line_number = 0