示例#1
0
def load_database():
    image_rows = image_store.retrieve_all()

    for row in image_rows:
        images["%d" % row[0]] = [row[1], row[2], row[3]]

    print len(images)
示例#2
0
def get_all_images():
	images = image_store.retrieve_all()
	return images