<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

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