Boatdata allow zero values distinct from None
This commit is contained in:
		
							parent
							
								
									1df714aa37
								
							
						
					
					
						commit
						2a345a1f09
					
				| 
						 | 
				
			
			@ -117,7 +117,7 @@ class BoatValue():
 | 
			
		|||
 | 
			
		||||
    def getValue(self):
 | 
			
		||||
        # Wert unter Beachtung der Unit zurückgeben
 | 
			
		||||
        if self.value and valid:
 | 
			
		||||
        if (self.value is not None) and valid:
 | 
			
		||||
            return self.value
 | 
			
		||||
        else:
 | 
			
		||||
            return self.placeholder
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue