We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c0fb80 commit cf53770Copy full SHA for cf53770
astroquery/utils/tap/xmlparser/utils.py
@@ -32,7 +32,7 @@ def read_http_response(response, output_format, correct_units=True):
32
33
try:
34
result = APTable.read(io.BytesIO(gzip.decompress(data.read())), format=astropy_format)
35
- except gzip.BadGzipFile:
+ except OSError:
36
# data is not a valid gzip file by BadGzipFile.
37
result = APTable.read(data, format=astropy_format)
38
pass
0 commit comments