1
0
Fork 0

Revert "change invalid pin from error to warning"

This reverts commit 68da9cd19658071f0c2f22e97956303281703176.
This commit is contained in:
Zach White 2021-01-06 10:37:31 -08:00 committed by Zach White
parent ed19198c78
commit e2e793c1c3

View file

@ -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