def get_photo_imagepath(root, query, image_ids): db = DBHelper() db.init(root) imagepaths =[] for image_id in image_ids: imagepath = db.getPhotoImgPath(query, image_id) imagepaths.append(imagepath) return imagepaths
def get_photo_imagepath(root, query, image_ids): db = DBHelper() db.init(root) imagepaths =[] for image_id in image_ids: imagepath = db.getPhotoImgPath(query, image_id) imagepaths.append(imagepath) return imagepaths