From 036c01e9e56089162783c0a1d02664b0b4de0d16 Mon Sep 17 00:00:00 2001 From: Phillip Chlap Date: Tue, 17 Oct 2023 16:05:40 +1100 Subject: [PATCH] fix error --- pydicer/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pydicer/utils.py b/pydicer/utils.py index 78f50a2..48e31d4 100644 --- a/pydicer/utils.py +++ b/pydicer/utils.py @@ -535,6 +535,7 @@ def download_and_extract_zip_file(zip_url, output_directory): """ with tempfile.TemporaryDirectory() as temp_dir: + temp_dir = Path(temp_dir) temp_file = temp_dir.joinpath("tmp.zip") with urllib.request.urlopen(zip_url) as dl_file: