Commit 1d0aded0 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

HS: input_pk hot fix.

Showing with 4 additions and 1 deletion
+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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment