'1' is also valid in the forms

This commit is contained in:
Yann Leboulanger 2005-04-24 16:14:50 +00:00
parent 7e733a195f
commit e2b6b84694
1 changed files with 1 additions and 1 deletions

View File

@ -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