segmenter: typo fix in mqtt topic

This commit is contained in:
Romain Bazile 2020-09-28 21:36:41 +02:00
parent 06ef401a3b
commit fbacf21016

View file

@ -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}"}}',
)