Skip to content

Commit

Permalink
[Panelize][Fixed] not able to use external JSON configs
Browse files Browse the repository at this point in the history
Fixes #592
  • Loading branch information
set-soft committed Mar 21, 2024
1 parent 37f8a6a commit 253370a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions kibot/out_panelize.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,8 @@ def config(self, parent):
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)

Expand Down

0 comments on commit 253370a

Please sign in to comment.