Skip to content

Commit

Permalink
Use https to retrieve demo files
Browse files Browse the repository at this point in the history
  • Loading branch information
naglepuff committed Dec 10, 2024
1 parent 37184b0 commit e698b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imagedephi/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ def demo_data(data_dir: Path):
for row in tqdm(rows, desc="Downloading demo images...", position=0, leave=True):
file_name = row["file_name"]
hash = row["hash"]
algo, hash_value = hash.split(":")
algo, hash_val = hash.split(":")
pooch.retrieve(
url=f"http://data.kitware.com/api/v1/file/hashsum/{algo}/{hash_value}/download",
url=f"https://data.kitware.com/api/v1/file/hashsum/{algo}/{hash_val}/download",
known_hash=hash,
fname=file_name,
path=demo_file_dir,
Expand Down

0 comments on commit e698b5f

Please sign in to comment.