Update state of folder from Jottacloud server

def sync(self):
        'Update state of folder from Jottacloud server'
        log.info("syncing %r" % self.path)
        self.folder = self.jfs.get(self.path)
        self.synced = True