mirror of
https://github.com/Andre0512/pyhOn.git
synced 2026-06-19 19:06:58 +02:00
Fix empty prStr
This commit is contained in:
@@ -18,7 +18,7 @@ class HonParameterFixed(HonParameter):
|
||||
|
||||
@property
|
||||
def value(self) -> str | float:
|
||||
return self._value if self._value is not None else "0"
|
||||
return self._value if self._value != "" else "0"
|
||||
|
||||
@value.setter
|
||||
def value(self, value: str | float) -> None:
|
||||
|
||||
Reference in New Issue
Block a user