From 983c91be1d2a7aadd80bf955c319d72db7dd65a9 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 27 Dec 2022 13:45:15 -0300 Subject: [PATCH] [Fixed] Problems when no pcbnew installed - New code interference with proper detection --- kibot/gs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kibot/gs.py b/kibot/gs.py index 0c4b7063..22b79640 100644 --- a/kibot/gs.py +++ b/kibot/gs.py @@ -11,7 +11,8 @@ try: except ImportError: # This is caught by __main__, ignore the error here class pcbnew(object): - pass + IU_PER_MM = 1 + IU_PER_MILS = 1 from datetime import datetime, date from sys import exit from shutil import copy2