Revert "change invalid pin from error to warning"
This reverts commit 68da9cd19658071f0c2f22e97956303281703176.
This commit is contained in:
parent
ed19198c78
commit
e2e793c1c3
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ def _extract_pins(pins):
|
||||||
|
|
||||||
for pin in pins:
|
for pin in pins:
|
||||||
if pin[0] not in 'ABCDEFGHIJK' or not pin[1].isdigit():
|
if pin[0] not in 'ABCDEFGHIJK' or not pin[1].isdigit():
|
||||||
cli.log.warning(f'Nonstandard pin format: {pin}')
|
raise ValueError(f'Invalid pin: {pin}')
|
||||||
|
|
||||||
return pins
|
return pins
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue