From 13d4d892b75b2b85efe2d08d6491cbdb8818111e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20Trinidad=20Guti=C3=A9rrez=20M=C3=A9ndez?= Date: Tue, 1 Jul 2014 16:24:40 -0500 Subject: [PATCH] Update sqlhtml.py Improved readability in code --- gluon/sqlhtml.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index 96e8a466..b0b4db90 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -1195,8 +1195,7 @@ class SQLFORM(FORM): xfields.append((row_id, label, inp, comment)) self.custom.dspval[fieldname] = dspval if (dspval is not None) else nbsp - self.custom.inpval[ - fieldname] = inpval if not inpval is None else '' + self.custom.inpval[fieldname] = inpval if not inpval is None else '' self.custom.widget[fieldname] = inp # if a record is provided and found, as is linkto