1
0
Fork 0

change invalid pin from error to warning

This commit is contained in:
Zach White 2021-01-06 10:28:58 -08:00 committed by Zach White
parent 9a178f6826
commit b44532aa3d

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():
raise ValueError(f'Invalid pin: {pin}') cli.log.warning(f'Nonstandard pin format: {pin}')
return pins return pins