Changed the default output pattern

- Now includes the `output_id` (%I)
This commit is contained in:
Salvador E. Tropea 2022-01-15 15:45:28 -03:00
parent 9d25b63e71
commit 4d5220006f
2 changed files with 2 additions and 1 deletions

View File

@ -74,6 +74,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Now you get an error when defining two outputs with the same name.
- The `%d/%sd/%bd` expansion patterns are now affected by the global `date_format`.
Can be disabled using `date_reformat: false`. (#121)
- The default output pattern now includes the `output_id` (%I)
### Fixed
- Position files now defaults to use the auxiliar origin as KiCad.

View File

@ -69,7 +69,7 @@ class GS(object):
current_output = None
# Global defaults
# This is used as default value for classes supporting "output" option
def_global_output = '%f-%i%v.%x'
def_global_output = '%f-%i%I%v.%x'
# This value will overwrite GS.def_global_output if defined
# Classes supporting global "output" option must call super().__init__()
# after defining its own options to allow Optionable do the overwrite.