def reindex_gallery(): logger.debug("Reindexing entire gallery to " + get_gallery_file()) if os.path.isfile(get_gallery_file()): os.remove(get_gallery_file()) allfiles = get_fileservice_files_abs() logger.debug(allfiles) br.br_enroll_n(len(allfiles), allfiles, get_gallery_file())
def reindex_gallery(): if os.path.isfile(get_gallery_file()): os.remove(get_gallery_file()) allfiles = get_fileservice_files_abs() br.br_enroll_n(len(allfiles), allfiles, get_gallery_file())