Skip to content

Commit ffa6d2e

Browse files
Jorge Fernandez HernandezJorge Fernandez Hernandez
authored andcommitted
C9GACS-1079 add PR reference number
1 parent 0570ed4 commit ffa6d2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

astroquery/gaia/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def __get_data_files(output_file, path):
345345
tables = []
346346
with fits.open(value, memmap=False) as hduList:
347347
for hdu in hduList:
348-
if isinstance(hdu, TableHDU) or isinstance(hdu, BinTableHDU):
348+
if isinstance(hdu, (TableHDU, BinTableHDU)):
349349
table = Table.read(hdu, format='fits')
350350
Gaia.correct_table_units(table)
351351
tables.append(table)

0 commit comments

Comments
 (0)