'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:
|
for tag in tags:
|
||||||
data = tag.getData()
|
data = tag.getData()
|
||||||
if ctype == 'boolean':
|
if ctype == 'boolean':
|
||||||
if data in ['yes', 'true', 'assent']:
|
if data in ['yes', 'true', 'assent', '1']:
|
||||||
data = True
|
data = True
|
||||||
else:
|
else:
|
||||||
data = False
|
data = False
|
||||||
|
|
Loading…
Reference in New Issue