diff --git a/amlip_py/amlip_py/node/FiwareNode.py b/amlip_py/amlip_py/node/FiwareNode.py index a632b974..2c36e26d 100644 --- a/amlip_py/amlip_py/node/FiwareNode.py +++ b/amlip_py/amlip_py/node/FiwareNode.py @@ -252,7 +252,7 @@ def inference_received( } } - self.patch_inference(inference.to_string(), metadata=metadata) + self.patch_inference(json.loads(inference.to_string()), metadata=metadata) def patch_inference( self,