diff --git a/weboob/tools/browser2/page.py b/weboob/tools/browser2/page.py index 03420373..e82ce8ee 100644 --- a/weboob/tools/browser2/page.py +++ b/weboob/tools/browser2/page.py @@ -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