Skip to content

Commit f51d2ec

Browse files
committed
fixed bug for 2nd shortname in ecco_podaac_download_diskaware
1 parent 8bb790e commit f51d2ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ecco_access/ecco_download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ def ecco_podaac_download_diskaware(ShortNames,StartDate,EndDate,snapshot_interva
550550
# download files
551551
curr_downloaded_files = download_files_wrapper(urls_list, download_dir, n_workers, force_redownload)
552552

553-
if len(downloaded_files) == 1:
553+
if len(curr_downloaded_files) == 1:
554554
# if only 1 file is downloaded, return a string of filename instead of a list
555555
curr_downloaded_files = curr_downloaded_files[0]
556556

0 commit comments

Comments
 (0)