def process_formdata(self, valuelist): if valuelist: self.data = convert_price(valuelist[0]) else: self.data = []
def _value(self): if self.data: return convert_price(self.data) else: return u''