Boatdata allow zero values distinct from None

This commit is contained in:
Thomas Hooge 2025-09-15 17:31:24 +02:00
parent 1df714aa37
commit 2a345a1f09
1 changed files with 1 additions and 1 deletions

View File

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