fix use of checked checkbox/radiobuttons in forms
This commit is contained in:
parent
3514f65cc6
commit
dd68bfd3fc
1 changed files with 1 additions and 1 deletions
|
|
@ -384,7 +384,7 @@ class Form(OrderedDict):
|
|||
continue
|
||||
|
||||
try:
|
||||
if inp.attrib['type'] in ('checkbox', 'radio') and not 'checked' in inp:
|
||||
if inp.attrib['type'] in ('checkbox', 'radio') and not 'checked' in inp.attrib:
|
||||
continue
|
||||
except KeyError:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue