def sync_download(): try: init() f = Folder.get_by_path('/') sync(f) except: pass
def sync_download(): try: init() f = Folder.get_by_path(DROPBOX_ROOT_FOLDER) sync(f) except: pass
def sync_download(self): ''' start to download all files in watching dir ''' try: self.init() f = Folder.get_by_path('/') self.sync(f) except: pass