diff --git a/dist/iotAmak-0.0.3-py3-none-any.whl b/dist/iotAmak-0.0.3-py3-none-any.whl index aa1e26e8b87d7839981f61ecabea378170805e4e..284ab4a3bfeb7d001be3cea0645a66430eb7cdc6 100644 Binary files a/dist/iotAmak-0.0.3-py3-none-any.whl and b/dist/iotAmak-0.0.3-py3-none-any.whl differ diff --git a/iotAmak/amas.py b/iotAmak/amas.py index f43df41d38381a684fe1783f793dffd57fb923ae..eda32ccc7e19868f343d5f7e3e6fae6377a711d6 100644 --- a/iotAmak/amas.py +++ b/iotAmak/amas.py @@ -87,7 +87,7 @@ class Amas(Schedulable, SSHClient): """ share the metric of agent 2 to agent 1 """ - self.publish("amas/agent/" + str(id_agent1) + "/neighbor", self.agents_metric[id_agent2]) + self.publish("amas/agent/" + str(id_agent1) + "/neighbor", str(self.agents_metric[id_agent2])) def agent_log(self, client, userdata, message) -> None: """