From e7a4daebe3a1804107e0158a8ed25a972fa1ac06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 22 Nov 2025 16:20:12 +0100 Subject: [PATCH] fix: convert f-strings in find_model_files to .format() --- artifact_comfyui_download.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artifact_comfyui_download.sh b/artifact_comfyui_download.sh index bf22e4b..ccb560d 100755 --- a/artifact_comfyui_download.sh +++ b/artifact_comfyui_download.sh @@ -323,11 +323,11 @@ filename_filter = sys.argv[3] # Try both with and without 'hub/' subdirectory for compatibility cache_path = Path(cache_dir) repo_path = repo_id.replace('/', '--') -model_dir = cache_path / f'models--{repo_path}' +model_dir = cache_path / 'models--{0}'.format(repo_path) # Fallback to hub/ subdirectory if direct path doesn't exist if not model_dir.exists(): - model_dir = cache_path / 'hub' / f'models--{repo_path}' + model_dir = cache_path / 'hub' / 'models--{0}'.format(repo_path) if not model_dir.exists(): sys.exit(1)