Avoid loading KiCad 6 schematics.
Waiting for the Python bindings.
This commit is contained in:
parent
17dd1d1be6
commit
235e4831a8
|
|
@ -166,6 +166,9 @@ def load_sch():
|
|||
GS.kicad_version = pcbnew.GetBuildVersion()
|
||||
logger.debug('KiCad: '+GS.kicad_version)
|
||||
GS.check_sch()
|
||||
# We can't yet load the new format
|
||||
if GS.sch_file[-9:] == 'kicad_sch':
|
||||
return
|
||||
GS.sch = Schematic()
|
||||
try:
|
||||
GS.sch.load(GS.sch_file)
|
||||
|
|
|
|||
Loading…
Reference in New Issue