From 4980f6ba1987d5c3f13038cfc6c29592c172aa9b Mon Sep 17 00:00:00 2001 From: Sky Zhang Date: Wed, 6 Aug 2025 00:10:53 +0800 Subject: [PATCH] Fix: The file save path is incorrect when downloading with aria2. --- glob/manager_downloader.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/glob/manager_downloader.py b/glob/manager_downloader.py index 2718de50..cad84def 100644 --- a/glob/manager_downloader.py +++ b/glob/manager_downloader.py @@ -80,10 +80,7 @@ def aria2_download_url(model_url: str, model_dir: str, filename: str): import tqdm import time - if model_dir.startswith(core.comfy_path): - model_dir = model_dir[len(core.comfy_path) :] - - download_dir = model_dir if model_dir.startswith('/') else os.path.join('/models', model_dir) + download_dir = model_dir download = aria2_find_task(download_dir, filename) if download is None: