[Panelize][Fixed] not able to use external JSON configs

Fixes #592
This commit is contained in:
Salvador E. Tropea 2024-03-21 08:31:35 -03:00
parent 37f8a6abc4
commit 253370a9c2
2 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- BoardView: X axis mirroring issues (whitequark/kicad-boardview#11)
- Present: problems when using gerbers already generated
- Diff: problems when using things like "origin/main" and add_link_id (#589)
- Panelize: not able to use external JSON configs (#592)
## [1.6.4] - 2024-02-02
### Added

View File

@ -658,6 +658,8 @@ class PanelizeOptions(VariantOptions):
elif isinstance(self.configs, str):
self.configs = [self.configs]
for c, cfg in enumerate(self.configs):
if isinstance(cfg, str):
continue
if not cfg.name:
cfg.name = str(c+1)