[Fixed] Problems when no pcbnew installed

- New code interference with proper detection
This commit is contained in:
Salvador E. Tropea 2022-12-27 13:45:15 -03:00
parent 27ea3f1d73
commit 983c91be1d
1 changed files with 2 additions and 1 deletions

View File

@ -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