← Back to team overview

ladon-dev-team team mailing list archive

Re: [Question #239270]: failed when returning empty values


Question #239270 on ladon changed:

    Status: Open => Solved

Mr T confirmed that the question is solved:
To allow empty values to be returned, we can modify the ladontype.py (at
packages/ladon/types/ladontype.py), like this:

if (val is None): # Fix to avoid exception when returning empty values
        attr_list += [tc.to_unicode_string("",attr_type[0])]
        attr_list += [tc.to_unicode_string(val,attr_type[0])]

You received this question notification because you are a member of
Ladon Developer, which is an answer contact for ladon.