diff --git a/dongtai_common/engine/compatibility.py b/dongtai_common/engine/compatibility.py index 7019f8e3..097b6dcb 100644 --- a/dongtai_common/engine/compatibility.py +++ b/dongtai_common/engine/compatibility.py @@ -24,6 +24,10 @@ def method_pool_3_to_2(dic: dict) -> dict: dic["taintPosition"]["target"] = [] for pv in dic["parameterValues"]: pdict[pv["index"]] = pv["value"] + if "objValue" not in dic: + dic["objValue"] = "" + if "retValue" not in dic: + dic["retValue"] = "" sourceValues = [] targetValues = [] for position in dic["taintPosition"]["source"]: