mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
HS: input_pk hot fix.
This commit is contained in:
1 parent
3322bafdca
commit
f633fb0f3f
1 file changed
+4
-1
@@ -200,7 +200,10 @@ class HydraulicStructure(SQLSubModel):
|
||||
|
||||
@input_kp.setter
|
||||
def input_kp(self, input_kp):
|
||||
self._input_kp = float(input_kp)
|
||||
if input_kp is not None:
|
||||
input_kp = float(input_kp)
|
||||
|
||||
self._input_kp = input_kp
|
||||
self._status.modified()
|
||||
|
||||
@property
|
||||
|
||||
Reference in new issue
Block a user