change invalid pin from error to warning
This commit is contained in:
		
							parent
							
								
									9a178f6826
								
							
						
					
					
						commit
						b44532aa3d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue