Skip to content

Commit edeed3a

Browse files
Jorge Fernandez HernandezJorge Fernandez Hernandez
authored andcommitted
Fix data type pass to json.load
1 parent 853d928 commit edeed3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/utils/tap/xmlparser/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def read_http_response(response, output_format, *, correct_units=True):
4040

4141
if output_format == 'json':
4242

43-
data = json.load(data)
43+
data = json.load(response)
4444

4545
if data.get('data') and data.get('metadata'):
4646

0 commit comments

Comments
 (0)