[Copy Files][Project][Fixed] Check for the schematic

To inform if it isn't there
This commit is contained in:
Salvador E. Tropea 2024-01-19 13:01:14 -03:00
parent bd4cefc2c4
commit 4d7847e145
1 changed files with 1 additions and 0 deletions

View File

@ -228,6 +228,7 @@ class Copy_FilesOptions(Base3DOptions):
logger.debug('Saving the PCB to '+fname)
GS.board.Save(fname)
if mode_project:
GS.check_sch()
logger.debug('Saving the schematic to '+dest_dir)
GS.sch.save_variant(dest_dir)
self.add_sch_files(extra_files, dest_dir)