KiCost: list arguments wrongly passed.

Related to #120
This commit is contained in:
Diego Capusotto 2021-12-16 17:24:03 -03:00
parent 25d036f8fa
commit 41c3661d8e
2 changed files with 2 additions and 1 deletions

View File

@ -79,6 +79,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- KiCost variants: empty DNF fields shouldn't be excluded. (#101)
- KiCost variants: problems when setting a field in a variant that doesn't
exist when no variant is selected. (#105)
- KiCost: list arguments wrongly passed. (#120)
- PCB Print: to show the real name of the PCB file. (#102)
- Compress: not expanding %VALUES in target dirs. (#111)
- Gerber: job file didn't use the global output pattern. (#116)

View File

@ -127,7 +127,7 @@ class KiCostOptions(VariantOptions):
@staticmethod
def add_list_opt(cmd, name, val):
if val:
cmd.append('--'+name+'='+','.join(val))
cmd.extend(['--'+name] + val)
@staticmethod
def add_bool_opt(cmd, name, val):