Update sqlhtml.py
Improved readability in code
This commit is contained in:
+1
-2
@@ -1195,8 +1195,7 @@ class SQLFORM(FORM):
|
|||||||
|
|
||||||
xfields.append((row_id, label, inp, comment))
|
xfields.append((row_id, label, inp, comment))
|
||||||
self.custom.dspval[fieldname] = dspval if (dspval is not None) else nbsp
|
self.custom.dspval[fieldname] = dspval if (dspval is not None) else nbsp
|
||||||
self.custom.inpval[
|
self.custom.inpval[fieldname] = inpval if not inpval is None else ''
|
||||||
fieldname] = inpval if not inpval is None else ''
|
|
||||||
self.custom.widget[fieldname] = inp
|
self.custom.widget[fieldname] = inp
|
||||||
|
|
||||||
# if a record is provided and found, as is linkto
|
# if a record is provided and found, as is linkto
|
||||||
|
|||||||
Reference in New Issue
Block a user