Skip to content

Commit 50035d3

Browse files
committed
Merge pull request #560 from jwoillez/fix_eso_activate_form
Handle radio button case in Eso form activation
2 parents 3d312c6 + 5ad69a5 commit 50035d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/eso/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def _activate_form(self, response, form_index=0, inputs={}, cache=True,
8888
if tag_name == 'input':
8989
is_file = (form_elem.get('type') == 'file')
9090
value = form_elem.get('value')
91-
if form_elem.get('type') == 'checkbox':
91+
if form_elem.get('type') in ['checkbox','radio']:
9292
if form_elem.has_attr('checked'):
9393
if not value:
9494
value = 'on'

0 commit comments

Comments
 (0)