Jochen Wersdörfer <jochen at helferlein.net> wrote:
> Address = fields.get("address", "n/a")
(You mean fields.getvalue, natch.)
If you don't want to have to deal with cgi returning a list sometimes, what
you really want is fields.getfirst('fieldname', 'default'), but this only
exists in Python 2.2 onwards.
--
Andrew Clover
mailto:and at doxdesk.comhttp://www.doxdesk.com/