Skip to content
Snippets Groups Projects
Commit 96143368 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Dont't call instant(None)

parent d3711435
Branches
Tags
No related merge requests found
Pipeline #18000 passed
...@@ -119,8 +119,8 @@ def apply_parametric_reform(parameters, parameter_change_by_name): ...@@ -119,8 +119,8 @@ def apply_parametric_reform(parameters, parameter_change_by_name):
changeType = change.get("type") changeType = change.get("type")
if changeType == "parameter": if changeType == "parameter":
parameter.update( parameter.update(
start=instant(change.get("start")), start=instant(change["start"]) if change.get("start") != None else None,
stop=instant(change.get("stop")), stop=instant(change["stop"]) if change.get("stop") != None else None,
value=change.get("value"), value=change.get("value"),
) )
elif changeType == "scale": elif changeType == "scale":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment