'1' is also valid in the forms
This commit is contained in:
parent
7e733a195f
commit
e2b6b84694
|
@ -441,7 +441,7 @@ class Connection:
|
|||
for tag in tags:
|
||||
data = tag.getData()
|
||||
if ctype == 'boolean':
|
||||
if data in ['yes', 'true', 'assent']:
|
||||
if data in ['yes', 'true', 'assent', '1']:
|
||||
data = True
|
||||
else:
|
||||
data = False
|
||||
|
|
Loading…
Reference in New Issue