Skip to content

Commit

Permalink
Merge pull request #259 from mitre/fix-workflows
Browse files Browse the repository at this point in the history
Fix workflows
  • Loading branch information
agibbons27 authored Apr 26, 2024
2 parents 09c2bbf + 9e754f2 commit f46dd4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/download-test-images.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ def download_dftt_images():
for filename in os.listdir("."):
_, ext = os.path.splitext(filename)
if ext == ".zip":
while os.path.getsize(filename) == 154:
for url in dftt_urls:
if filename in url:
print(f"Retrying download of {filename}")
download(url)
print(f"unzipping: {filename}")
unzip(filename)

Expand Down

0 comments on commit f46dd4c

Please sign in to comment.