Beispiel #1
0
    def insert_data(self, signature, impath):

        uu  = CabPic.create(
            uid = str(uuid.uuid1()),
            imgpath = impath,
            create_timestamp = time.time()
        )
Beispiel #2
0
    def insert_data(self, signature, impath):

        uu  = CabPic.create(
            uid = str(uuid.uuid1()),
            imgpath = impath,
            create_timestamp = time.time()
        )
Beispiel #3
0
 def insert_data(self, signature, impath):
     entry = CabPic.create(
         uid=signature,
         imgpath=impath,
         create_timestamp=time.time()
     )
     return entry
Beispiel #4
0
 def __init__(self):
     try:
         CabPic.create_table()
     except:
         pass
Beispiel #5
0
 def __init__(self):
     try:
         CabPic.create_table()
     except:
         pass
Beispiel #6
0
 def getall(self):
     return CabPic.select()
Beispiel #7
0
 def insert_data(self, signature, impath):
     entry = CabPic.create(uid=signature,
                           imgpath=impath,
                           create_timestamp=time.time())
     return entry
Beispiel #8
0
 def getall(self):
     return CabPic.select()