heh - yes - thx for the python lesson :) sigh.....

On Thu, Feb 19, 2009 at 10:51 PM, mdipierro <[email protected]> wrote:
>
> what about
>
> comment = col3.get(fieldname, field.comment) or ''
>
> instead?
>
> Uploading to launchpad 542. Thanks Wes
>
> Massimo
>
> On Feb 19, 10:54 pm, Wes James <[email protected]> wrote:
>> Massimo,
>>
>> I found where the Nones are showing in input forms when using t3. In
>> sqlhtml.py on line 317 there is:
>>
>>             if comments:
>>                 comment = col3.get(fieldname, field.comment or '')
>>
>> Change it to:
>>
>>             if comments:
>>                 comment = col3.get(fieldname, field.comment or '')
>>                 if comment == None: comment = ''
>>
>> -wj
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to