Commit f351d34a authored by Stavros Sachtouris's avatar Stavros Sachtouris Committed by Giorgos Korfiatis
Browse files

Add a "paused" property to syncer object

parent 8b496888
......@@ -44,6 +44,10 @@ class FileSyncer(object):
self.clients = {self.MASTER: master, self.SLAVE: slave}
self.decide_event = None
def paused(self):
return (not self.decide_event.is_set()) if self.decide_event else True
def launch_daemons(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment