Procházet zdrojové kódy

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

steve před 8 roky
rodič
revize
e1d0925c10
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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]