def __init__(self, **kwargs): self.total, _ = account.fs_sizes() self.free = self.total - query.calculate_usage() self.fh = 1 self.nlinks = kwargs.get('nlinks', False) sync_interval = kwargs.get('interval', 0) p = Process(target=_autosync, args=(sync_interval, )) p.start()
def __init__(self, **kwargs): self.total, _ = account.fs_sizes() self.free = self.total - query.calculate_usage() self.fh = 1 self.nlinks = kwargs.get("nlinks", False) sync_interval = kwargs.get("interval", 0) p = Process(target=_autosync, args=(sync_interval,)) p.start()
def __init__(self): self.total, _ = account.fs_sizes() self.free = self.total - query.calculate_usage() self.fh = 1
def __init__(self): self.total, self.free = account.fs_sizes()