From 58a803570429fd42232af0bf1ead5364a2b354be Mon Sep 17 00:00:00 2001 From: Diego Capusotto Date: Fri, 17 Dec 2021 11:46:15 -0300 Subject: [PATCH] out_base.py: adapted to new sequence intialization for tests. --- kibot/out_base.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kibot/out_base.py b/kibot/out_base.py index 73275cdd..bb673bef 100644 --- a/kibot/out_base.py +++ b/kibot/out_base.py @@ -8,6 +8,10 @@ from copy import deepcopy from .gs import GS from .kiplot import load_sch, get_board_comps_data from .misc import Rect, KICAD_VERSION_5_99, W_WRONGPASTE +if not GS.kicad_version_n: + # When running the regression tests we need it + from kibot.__main__ import detect_kicad + detect_kicad() if GS.kicad_version_n >= KICAD_VERSION_5_99: # pragma: no cover (Ki6) # New name, no alias ... from pcbnew import FP_SHAPE, wxPoint, LSET