diff --git a/CHANGELOG.md b/CHANGELOG.md index 00d32884..a69810f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -91,6 +91,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Gerber: job file didn't use the global output pattern. (#116) - Warnings count - Update XML: Removed the side effect Bom. (#106) +- Problems when using a hidden config file, using an output that needs the SCH, + not specifying the SCH and more than one SCH was found. (#138) ## [0.11.0] - 2021-04-25 diff --git a/kibot/__main__.py b/kibot/__main__.py index e81913f6..06f5b3df 100644 --- a/kibot/__main__.py +++ b/kibot/__main__.py @@ -116,6 +116,9 @@ def solve_schematic(a_schematic, a_board_file, config): logger.info('Using SCH file: '+schematic) elif len(schematics) > 1: # Look for a schematic with the same name as the config + if config[0] == '.': + # Unhide hidden config + config = config[1:] while '.' in config: config = os.path.splitext(config)[0] sch = config+'.sch'