def __init__(self, objectStore, outputQueue): BaseWorker.__init__(self) self.objectStore = objectStore self.outputQueue = outputQueue self.localStore = LocalProvider() c = config.Config() self.localSyncPath = c.get_home_folder() self.state = statestore.StateStore(c.username) self._isRunning = True
def __init__(self, objectStore, outputQueue): BaseWorker.__init__(self) self.objectStore = objectStore self.outputQueue = outputQueue self.localStore = LocalProvider() c = config.Config() self.localSyncPath = c.get_home_folder() self.tempDownloadFolder = c.get_temporary_folder() self.state = statestore.StateStore(c.username) self.lock = threading.Lock() self.running = True self.trashFolder = c.get_trash_folder()
def __init__(self, outputQueue): BaseWorker.__init__(self) self._outputQueue = outputQueue