예제 #1
0
파일: attachment.py 프로젝트: nesl/ecopda
 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())
예제 #2
0
파일: attachment.py 프로젝트: nesl/ecopda
 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())
예제 #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)
예제 #4
0
파일: capture.py 프로젝트: nesl/ecopda
 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)