From 046bd3d24df73e648a53252179e24032a2311ea6 Mon Sep 17 00:00:00 2001 From: trevorb1 Date: Mon, 9 Sep 2024 14:39:27 -0700 Subject: [PATCH] typo fix --- workflow/scripts/osemosys_global/external_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/scripts/osemosys_global/external_files.py b/workflow/scripts/osemosys_global/external_files.py index aed344ec..053a1755 100644 --- a/workflow/scripts/osemosys_global/external_files.py +++ b/workflow/scripts/osemosys_global/external_files.py @@ -18,7 +18,7 @@ def download_file(file: str, url: Path | str) -> None: """Downloads a file if the file does not already exist""" - if Path(path).exists(): + if Path(file).exists(): logging.info(f"{file} already exists") return