Allow formdata value to be None to drop field generated from response

This commit is contained in:
Harrison Gregg 2017-04-30 19:07:29 -04:00
parent 7fc11c1348
commit 26f723e4e6
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ def _get_inputs(form, formdata, dont_click, clickdata, response):
if clickable and clickable[0] not in formdata and not clickable[0] is None:
values.append(clickable)
values.extend(formdata.items())
values.extend((k, v) for k, v in formdata.items() if v is not None)
return values