Skip to content

Commit 03c8f72

Browse files
jaymedinaeerovaher
authored andcommitted
Update astroquery/mast/collections.py
Co-authored-by: Eero Vaher <[email protected]>
1 parent 1dac519 commit 03c8f72

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

astroquery/mast/collections.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,7 @@ def download_hsc_spectra(self, spectra, download_dir=None, cache=True, curl_flag
467467
else:
468468
data_url = f'https://hla.stsci.edu/cgi-bin/ecfproxy?file_id={spec["DatasetName"]}.fits'
469469

470-
filename = spec['DatasetName']
471-
local_path = os.path.join(base_dir, f'{filename}.fits')
470+
local_path = os.path.join(base_dir, f'{spec["DatasetName"]}.fits')
472471

473472
status = "COMPLETE"
474473
msg = None

0 commit comments

Comments
 (0)