diff --git a/dist/iotAmak-0.0.7-py3-none-any.whl b/dist/iotAmak-0.0.7-py3-none-any.whl index 744cb9dfed1ef86c93b444d4867458e6f5593247..25bbe970d3f97c36a3849050d94026a3de5083e7 100644 Binary files a/dist/iotAmak-0.0.7-py3-none-any.whl and b/dist/iotAmak-0.0.7-py3-none-any.whl differ diff --git a/iotAmak/scheduler/scheduler.py b/iotAmak/scheduler/scheduler.py index df01367b4e64095ff551db8261fb5a0771893cff..477d7d77a7574bec07f3be3a88f8c0748b50515c 100644 --- a/iotAmak/scheduler/scheduler.py +++ b/iotAmak/scheduler/scheduler.py @@ -69,7 +69,7 @@ class Scheduler(Schedulable): """ self.nbr_agent += 1 self.subscribe( - "agent/" + literal_eval(message.payload.decode("utf-8")).get("id") + "/cycle_done", + "agent/" + str(literal_eval(message.payload.decode("utf-8")).get("id")) + "/cycle_done", self.agent_done) # print("__Update agent : ", self.nbr_agent, str(message.payload.decode("utf-8")))