Skip to content

Commit

Permalink
Correctly parse JSON inference data
Browse files Browse the repository at this point in the history
Signed-off-by: Irene Bandera <[email protected]>
  • Loading branch information
irenebm committed Sep 13, 2024
1 parent 42b248a commit 4f91f34
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 4f91f34

Please sign in to comment.