From 49fb0c90ad3bb6bb8ce6e4f749f6e4befc75cdec Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sun, 16 Sep 2012 13:06:43 -0500 Subject: [PATCH] fixed problem with error on liststring widget --- VERSION | 2 +- gluon/sqlhtml.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index dc79b0ad..c6473994 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.9 (2012-09-16 12:23:15) stable +Version 2.0.9 (2012-09-16 13:06:39) stable diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index d9c7928f..a19e8092 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -242,10 +242,11 @@ class ListWidget(StringWidget): requires = field.requires if isinstance( field.requires, (IS_NOT_EMPTY, IS_LIST_OF)) else None attributes['_style'] = 'list-style:none' + nvalue = value or [''] items = [LI(INPUT(_id=_id, _class=_class, _name=_name, - value=v, hideerror=k