Adapted force_pcbnew_error.py to support KiCad nightly

This commit is contained in:
Diego Capusotto 2021-12-17 17:21:32 -03:00
parent 908c48b8c7
commit 915412c426
1 changed files with 2 additions and 0 deletions

View File

@ -15,4 +15,6 @@ else:
sys.modules['pcbnew'] = None
# Import the module to test
from kibot.__main__ import detect_kicad
# Avoid the insertion of the nightly path
os.environ['KIAUS_USE_NIGHTLY'] = ''
detect_kicad()