Example #1
0
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())
Example #2
0
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())
Example #3
0
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())
Example #4
0
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())