Skip to content

Commit e698b5f

Browse files
committed
Use https to retrieve demo files
1 parent 37184b0 commit e698b5f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

imagedephi/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ def demo_data(data_dir: Path):
258258
for row in tqdm(rows, desc="Downloading demo images...", position=0, leave=True):
259259
file_name = row["file_name"]
260260
hash = row["hash"]
261-
algo, hash_value = hash.split(":")
261+
algo, hash_val = hash.split(":")
262262
pooch.retrieve(
263-
url=f"http://data.kitware.com/api/v1/file/hashsum/{algo}/{hash_value}/download",
263+
url=f"https://data.kitware.com/api/v1/file/hashsum/{algo}/{hash_val}/download",
264264
known_hash=hash,
265265
fname=file_name,
266266
path=demo_file_dir,

0 commit comments

Comments
 (0)