From fbacf21016a87c997f6af8126bb5686a6a3e1d0b Mon Sep 17 00:00:00 2001 From: Romain Bazile Date: Mon, 28 Sep 2020 21:36:41 +0200 Subject: [PATCH] segmenter: typo fix in mqtt topic --- scripts/planktoscope/segmenter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/planktoscope/segmenter.py b/scripts/planktoscope/segmenter.py index 8a3eeed..9088898 100644 --- a/scripts/planktoscope/segmenter.py +++ b/scripts/planktoscope/segmenter.py @@ -193,7 +193,7 @@ class SegmenterProcess(multiprocessing.Process): # Publish the json containing all the metadata to via MQTT to Node-RED morphocut.Call( self.segmenter_client.client.publish, - "status/segmentater/metric", + "status/segmenter/metric", json_meta, ) @@ -217,7 +217,7 @@ class SegmenterProcess(multiprocessing.Process): # Publish the object_id to via MQTT to Node-RED morphocut.Call( self.segmenter_client.client.publish, - "status/segmentater/object_id", + "status/segmenter/object_id", f'{{"object_id":"{object_id}"}}', )