소스 검색

bug fix, @TODO: Insure that the learner is also an agent, that communicates with actors

steve 8 년 전
부모
커밋
e1d0925c10
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/utils/agents/actor.py

+ 2 - 0
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]