From da1da26983fc2e18498331f400b4b05deab8a8f6 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Sun, 16 Jan 2022 18:19:42 -0300 Subject: [PATCH] Added check for the pcb_file (bogus during some tests) --- kibot/globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibot/globals.py b/kibot/globals.py index d718c797..28f1e48e 100644 --- a/kibot/globals.py +++ b/kibot/globals.py @@ -99,7 +99,7 @@ class Globals(FiltersOptions): self.pcb_finish = copper_finish def config(self, parent): - if GS.ki6() and GS.pcb_file: + if GS.ki6() and GS.pcb_file and os.path.isfile(GS.pcb_file): self.get_stack_up() super().config(parent) GS.global_output = self.set_global(GS.global_output, self.output, 'output')