[web2py] Re: Virtual Method/Field with None value

2018-08-10 Thread fiubarc
Hello!! I did more tests and you're right. It works well when returning null values Thanks El viernes, 3 de agosto de 2018, 20:08:53 (UTC-3), Anthony escribió: > > On Friday, August 3, 2018 at 4:23:05 PM UTC-4, fiubarc wrote: >> >> Hi, im getting AttributeError if the value returned by a

[web2py] Re: Virtual Method/Field with None value

2018-08-03 Thread Anthony
On Friday, August 3, 2018 at 4:23:05 PM UTC-4, fiubarc wrote: > > Hi, im getting AttributeError if the value returned by a virtual method is > none.. > > There is some way to get the none value or i always have to check > ['virtualfield'] is in db.table > I believe the virtual field should be i