From e29804eeb44c0b638f5fdb336d4670d81def0d8d Mon Sep 17 00:00:00 2001 From: omartrinidad Date: Fri, 1 Aug 2014 09:47:46 -0500 Subject: [PATCH] Changed a condition in order to not show `None` if there is not error --- gluon/sqlhtml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index cb85158d..88e5f3f8 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -2442,7 +2442,7 @@ class SQLFORM(FORM): message = T('at least %(nrows)s records found') % dict(nrows=nrows) else: message = T('%(nrows)s records found') % dict(nrows=nrows) - console.append(DIV(message or T('None'), _class='web2py_counter')) + console.append(DIV(message or '', _class='web2py_counter')) paginator = UL() if paginate and dbset._db._adapter.dbengine == 'google:datastore':