Skip to content

Commit 5027c28

Browse files
committed
fix assignment
1 parent ea3c37d commit 5027c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/sdss/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ def get_spectra_async(self, coordinates=None, radius=2. * u.arcsec,
584584
if isinstance(row['run2d'], bytes):
585585
run2d = row['run2d'].decode()
586586
elif isinstance(row['run2d'], (np.integer, int)):
587-
run2d = str(run2d)
587+
run2d = str(row['run2d'])
588588
else:
589589
run2d = row['run2d']
590590
if data_release > 15 and run2d not in ('26', '103', '104'):

0 commit comments

Comments
 (0)