Explorar el Código

change invalid pin from error to warning

Zach White hace 4 años
padre
commit
b44532aa3d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/python/qmk/info.py

+ 1 - 1
lib/python/qmk/info.py

@@ -344,7 +344,7 @@ def _extract_pins(pins):
 
     for pin in pins:
         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