From 4928989913b07cff02bfb5089f26c50ea865b255 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Wed, 5 May 2021 23:56:12 -0600 Subject: [PATCH] Fix bug in download_tool() Skip check to ensure the correct architecture path is returned. --- scripts/wk/kit/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wk/kit/tools.py b/scripts/wk/kit/tools.py index e24ae07b..895c9470 100644 --- a/scripts/wk/kit/tools.py +++ b/scripts/wk/kit/tools.py @@ -64,7 +64,7 @@ def download_file(out_path, source_url, as_new=False, overwrite=False): def download_tool(folder, name): """Download tool.""" name_arch = f'{name}{ARCH}' - out_path = find_kit_dir('.bin').joinpath(f'{folder}/{name}.exe') + out_path = get_tool_path(folder, name, check=False) up_to_date = False # Check if tool is up to date