def insert_data(self, signature, impath): uu = CabPic.create( uid = str(uuid.uuid1()), imgpath = impath, create_timestamp = time.time() )
def insert_data(self, signature, impath): entry = CabPic.create( uid=signature, imgpath=impath, create_timestamp=time.time() ) return entry
def __init__(self): try: CabPic.create_table() except: pass
def getall(self): return CabPic.select()
def insert_data(self, signature, impath): entry = CabPic.create(uid=signature, imgpath=impath, create_timestamp=time.time()) return entry