From 253370a9c22013bbc9a9a85e6787ffdf4fa4edb6 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 21 Mar 2024 08:31:35 -0300 Subject: [PATCH] [Panelize][Fixed] not able to use external JSON configs Fixes #592 --- CHANGELOG.md | 1 + kibot/out_panelize.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d3adbc50..2c4901ca3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/kibot/out_panelize.py b/kibot/out_panelize.py index 7cdecb6ef..0efbce439 100644 --- a/kibot/out_panelize.py +++ b/kibot/out_panelize.py @@ -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)