Skip to content

Commit

Permalink
Correctly parse JSON inference data (#131)
Browse files Browse the repository at this point in the history
Signed-off-by: Irene Bandera <[email protected]>
  • Loading branch information
irenebm authored Sep 13, 2024
1 parent f99235e commit f41226f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amlip_py/amlip_py/node/FiwareNode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f41226f

Please sign in to comment.