Skip to content

Commit

Permalink
The system is retrying even if the file already exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
mberacochea committed Oct 2, 2024
1 parent d7f6bae commit a320538
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fetchtool/abstract_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ def download_raw_file(self, dl_file, dest, dl_md5s):
logging.error(msg)
else:
raise EnvironmentError(msg)
else:
# The file was previously downloaded.
file_downloaded = True

return file_downloaded

Expand Down

0 comments on commit a320538

Please sign in to comment.