From 5ad69a5e07148d735d0bcc64219ad379514c9221 Mon Sep 17 00:00:00 2001 From: Julien Woillez Date: Thu, 23 Jul 2015 12:57:33 +0200 Subject: [PATCH] Handle radio button case. --- astroquery/eso/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astroquery/eso/core.py b/astroquery/eso/core.py index 8635650832..b1ae2a3680 100644 --- a/astroquery/eso/core.py +++ b/astroquery/eso/core.py @@ -88,7 +88,7 @@ def _activate_form(self, response, form_index=0, inputs={}, cache=True, if tag_name == 'input': is_file = (form_elem.get('type') == 'file') value = form_elem.get('value') - if form_elem.get('type') == 'checkbox': + if form_elem.get('type') in ['checkbox','radio']: if form_elem.has_attr('checked'): if not value: value = 'on'