Folder archiving

community
Steve L. Nyemba 8 years ago
parent e1d0925c10
commit 21901ddac5

@ -53,10 +53,16 @@ class Actor(Thread):
def post(self,**args):
pass
class Folders(Actor):
def init(self,config,item):
Actor.init(self,config,item)
self.config = config['folders']
self.item = item
def isvalid(self,item):
print self.conf
def process(self,item):
print item
class Kill(Actor):
def isValid(self,item):
@ -181,9 +187,7 @@ class Orchestrator(Actor):
message = json.loads(stream)
if 'content' in message :
content = message['content']
print self.actors
#sender = message['from']
print self.actors
to = message['to']
if isinstance(content,basestring) and content.lower() in ['quit'] or to=='quit':
if content.lower() == 'quit' or to == 'quit':

Loading…
Cancel
Save