Exemple #1
0
 def apply_picture(self):
     picture_filename = butterfly_helper.get_newest_image_name()
     appuifw.note(u'Applying: ' + picture_filename)
     parent_id = self.parent_db['id']
     captureORM = butterflydb.Captures(self.db, id=parent_id)
     captureORM.set(picture_filename=picture_filename)
     switch_in(captureORM.dict())
Exemple #2
0
 def apply_picture(self):
     picture_filename = butterfly_helper.get_newest_image_name()
     appuifw.note(u'Applying: ' + picture_filename)
     parent_id = self.parent_db['id']
     captureORM = butterflydb.Captures(self.db, id=parent_id)
     captureORM.set(picture_filename=picture_filename)
     switch_in(captureORM.dict())
Exemple #3
0
 def apply_picture_filename(self):
     self.picture_filename = butterfly_helper.get_newest_image_name()
     appuifw.note(u"Applying: " + self.picture_filename)
     self.save_hook(self.form)
Exemple #4
0
 def apply_picture_filename(self):
     self.picture_filename = butterfly_helper.get_newest_image_name()
     appuifw.note(u"Applying: " + self.picture_filename)
     self.save_hook(self.form)