From e1d0925c109e96c63a82b88b867b41e7e84d54a3 Mon Sep 17 00:00:00 2001 From: steve Date: Tue, 30 May 2017 11:55:46 -0500 Subject: [PATCH] bug fix, @TODO: Insure that the learner is also an agent, that communicates with actors --- src/utils/agents/actor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/agents/actor.py b/src/utils/agents/actor.py index 237bd0f..88b517f 100644 --- a/src/utils/agents/actor.py +++ b/src/utils/agents/actor.py @@ -181,6 +181,7 @@ class Orchestrator(Actor): message = json.loads(stream) if 'content' in message : content = message['content'] + print self.actors #sender = message['from'] to = message['to'] @@ -189,6 +190,7 @@ class Orchestrator(Actor): print '**** closing ',self.getIdentifier() channel.close() else: + id = to.lower() actor = self.actors[id]